From 69fba5f4f987e73f1968152501088ef640ab43a7 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Tue, 31 Jan 2012 13:52:37 +0100 Subject: [PATCH] tests: simple-httpd: Don't leak index_path string Reviewed-by: Simon McVittie Reviewed-by: Dan Winship Bug: https://bugzilla.gnome.org/show_bug.cgi?id=669479 Bug-NB: NB#297634 --- tests/simple-httpd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/simple-httpd.c b/tests/simple-httpd.c index 535de4b..ab88bf9 100644 --- a/tests/simple-httpd.c +++ b/tests/simple-httpd.c @@ -127,6 +127,7 @@ do_get (SoupServer *server, SoupMessage *msg, const char *path) g_free (index_path); return; } + g_free (index_path); listing = get_directory_listing (path); soup_message_set_response (msg, "text/html", -- 2.7.4