diff options
author | Robert Swain <robert.swain@collabora.co.uk> | 2012-01-31 13:52:37 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-08 10:06:55 +0000 |
commit | 69fba5f4f987e73f1968152501088ef640ab43a7 (patch) | |
tree | a37991061255704d007144fce9295aee6f8b87f4 /tests | |
parent | b562f9bbe31b5c5277b2b7d1482d98b5aa42a593 (diff) | |
download | libsoup-69fba5f4f987e73f1968152501088ef640ab43a7.tar.gz |
tests: simple-httpd: Don't leak index_path string
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Dan Winship <danw@gnome.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=669479
Bug-NB: NB#297634
Diffstat (limited to 'tests')
-rw-r--r-- | tests/simple-httpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/simple-httpd.c b/tests/simple-httpd.c index 535de4b4..ab88bf99 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", |