From 4c27cf5049c370c93123b71d9f9f47ee1831bb3b Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Thu, 27 May 2010 17:23:00 -0500 Subject: Fix leak of uri in soup_form_request_for_data() https://bugzilla.gnome.org/show_bug.cgi?id=619897 --- libsoup/soup-form.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libsoup/soup-form.c') diff --git a/libsoup/soup-form.c b/libsoup/soup-form.c index e4f15e82..33978ed3 100644 --- a/libsoup/soup-form.c +++ b/libsoup/soup-form.c @@ -380,6 +380,7 @@ soup_form_request_for_data (const char *method, const char *uri_string, /* Don't crash */ msg = soup_message_new_from_uri (method, uri); } + soup_uri_free (uri); return msg; } -- cgit v1.2.1