summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.c')
-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;
}