summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-08-16 14:51:59 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-08-16 14:51:59 +0200
commit6a328201c7f18a693b6ec8da149a0704429a436a (patch)
treed2fba3b62da16bf314ae220a1d9d640f8af274bd
parentda21895e937f4f0ae9603f80db7daa1155cf8cf4 (diff)
Unref socket service object.
-rw-r--r--httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index 074bd69..c28ceee 100644
--- a/httpd.c
+++ b/httpd.c
@@ -89,6 +89,6 @@ gboolean httpd_start() {
void httpd_stop() {
g_socket_service_stop(ss);
- g_free(ss);
+ g_object_unref(ss);
ss = NULL;
}