[libsoup/gnome-2-30] Fix leak of uri in soup_form_request_for_data()
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/gnome-2-30] Fix leak of uri in soup_form_request_for_data()
- Date: Tue, 22 Jun 2010 17:14:01 +0000 (UTC)
commit 772ab80e03ba11b5610e7220edf433b9802b48e7
Author: Jonathon Jongsma <jonathon quotidian org>
Date: Thu May 27 17:23:00 2010 -0500
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-form.c b/libsoup/soup-form.c
index 278d845..a194418 100644
--- a/libsoup/soup-form.c
+++ b/libsoup/soup-form.c
@@ -377,6 +377,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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]