summaryrefslogtreecommitdiff
path: root/tests/range-test.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2008-11-03 22:11:51 +0000
committerDan Winship <danw@src.gnome.org>2008-11-03 22:11:51 +0000
commit23978458ba1d2febe7f953b6c42a6dbccd1f634a (patch)
treeb30e4490324e906d733c7db3eb41d08f2ebd670b /tests/range-test.c
parent504610db1ac86edf3d8400bad5666149b9e1d210 (diff)
downloadlibsoup-23978458ba1d2febe7f953b6c42a6dbccd1f634a.tar.gz
don't leak the header string
* libsoup/soup-message-headers.c (set_content_foo): don't leak the header string * libsoup/soup-multipart.c (generate_boundary): avoid a (harmless) valgrind warning * libsoup/soup-proxy-resolver-static.c (get_proxy_sync): don't leak the address on error * libsoup/soup-session-sync.c (wait_for_connection): don't leak proxy_addr * tests/misc-test.c: don't leak the SoupMessage signal ids * tests/range-test.c (main): don't leak base_uri * tests/libsoup.supp: update this using lots and lots of wildcards svn path=/trunk/; revision=1197
Diffstat (limited to 'tests/range-test.c')
-rw-r--r--tests/range-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/range-test.c b/tests/range-test.c
index 214244ba..d33f9532 100644
--- a/tests/range-test.c
+++ b/tests/range-test.c
@@ -364,6 +364,7 @@ main (int argc, char **argv)
base_uri = g_strdup_printf ("http://localhost:%u/",
soup_server_get_port (server));
do_range_test (session, base_uri, TRUE);
+ g_free (base_uri);
soup_test_session_abort_unref (session);