summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-08-27 23:42:49 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-08-27 23:42:49 +0200
commit30e4a720a0a7f0a4010169e26230f1c3169158d1 (patch)
treea9e6e188f0baca3ad54b71ad0e7ac05d7f5d003a
parente79ffd8ffa3cfccd0e8f7fb091b483b389aa9c63 (diff)
Added missing g_error_free() call in command_service.c.
-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;