[libsoup] tests: simple-httpd: Don't leak index_path string
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] tests: simple-httpd: Don't leak index_path string
- Date: Wed, 8 Feb 2012 10:09:00 +0000 (UTC)
commit 69fba5f4f987e73f1968152501088ef640ab43a7
Author: Robert Swain <robert swain collabora co uk>
Date: Tue Jan 31 13:52:37 2012 +0100
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
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 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]