summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httpd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index c28ceee..744871f 100644
--- a/httpd.c
+++ b/httpd.c
@@ -68,6 +68,8 @@ static gboolean service_incoming(GSocketService *service,
commands_handle(connection, path);
+ g_free(path);
+
if(g_socket_close(socket, &error) == FALSE) {
g_warning(error->message);
g_error_free(error);