Fix leak of uri in soup_form_request_for_data()
authorJonathon Jongsma <jonathon@quotidian.org>
Thu, 27 May 2010 22:23:00 +0000 (17:23 -0500)
committerJonathon Jongsma <jonathon@quotidian.org>
Fri, 28 May 2010 16:51:59 +0000 (11:51 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=619897

libsoup/soup-form.c

index e4f15e8..33978ed 100644 (file)
@@ -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;
 }