summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-08-31 18:27:44 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-08-31 18:27:44 +0200
commitcd6232483bda9a531bed0a1e98ed3197286084ad (patch)
tree8a70f0ef9855b1649d2b47925e2f4bd3c4242347
parent49355f01096cee9ebaed4b4c6273b36e4aea50df (diff)
Unref input object in services.
-rw-r--r--command_service.c2
-rw-r--r--control_service.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/command_service.c b/command_service.c
index 1174687..74573a6 100644
--- a/command_service.c
+++ b/command_service.c
@@ -30,6 +30,8 @@ static gboolean service_incoming(GSocketService *service,
}
}
+ g_object_unref(input);
+
if(error != NULL) {
g_warning(error->message);
g_error_free(error);
diff --git a/control_service.c b/control_service.c
index 097ae88..46f8f8c 100644
--- a/control_service.c
+++ b/control_service.c
@@ -35,6 +35,8 @@ static gboolean service_incoming(GSocketService *service,
}
}
+ g_object_unref(input);
+
if(error != NULL) {
g_warning(error->message);
g_error_free(error);