From cd6232483bda9a531bed0a1e98ed3197286084ad Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 31 Aug 2010 18:27:44 +0200 Subject: Unref input object in services. --- command_service.c | 2 ++ control_service.c | 2 ++ 2 files changed, 4 insertions(+) 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); -- cgit v1.2.3