diff options
-rw-r--r-- | command_service.c | 2 | ||||
-rw-r--r-- | control_service.c | 2 |
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); |