summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--command_service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/command_service.c b/command_service.c
index efb350c..a23fc0e 100644
--- a/command_service.c
+++ b/command_service.c
@@ -18,6 +18,7 @@ static gboolean service_incoming(GSocketService *service,
if(size < 0) {
g_warning(error->message);
+ g_error_free(error);
return FALSE;
} else if(size == 0) {
break;