summaryrefslogtreecommitdiff
path: root/src/http.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-11-19 21:22:41 +0300
committerStefano Karapetsas <[email protected]>2014-11-20 08:34:57 +0100
commitb642ee7d64402c2a0d6625a2b8ce5115c68f67a7 (patch)
tree7b08bdecab15e6d49f2aee593fa8f2536e4badab /src/http.c
parent0040e135e587c476abd7d99d7a47ae146bad0f55 (diff)
downloadmate-user-share-1.9.0.tar.bz2
mate-user-share-1.9.0.tar.xz
Fix memory leakmate-user-share-1.9.0
Closes https://github.com/mate-desktop/mate-user-share/pull/22
Diffstat (limited to 'src/http.c')
-rw-r--r--src/http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http.c b/src/http.c
index 71161cd..36d058a 100644
--- a/src/http.c
+++ b/src/http.c
@@ -397,6 +397,7 @@ spawn_httpd (int port, pid_t *pid_out)
fprintf (stderr, "error spawning httpd: %s\n",
error->message);
g_error_free (error);
+ g_free (pid_filename);
return FALSE;
}