/pidgin/main: e0ca691299e6: Fix a memory leak on the http request

Jorge Villase?or <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: e0ca691299e6ce9878c78248d7eed8b187dd2abc
Author:	 Jorge Villase?or <[email protected]>
Date:	 2015-07-26 16:43 -0700
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/e0ca691299e6

Description:

Fix a memory leak on the http request

Patch from jgeboski

Fixes #16722

diffstat:

 libpurple/http.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff --git a/libpurple/http.c b/libpurple/http.c
--- a/libpurple/http.c
+++ b/libpurple/http.c
@@ -2452,6 +2452,8 @@ static void purple_http_request_free(Pur
 	purple_http_headers_free(request->headers);
 	purple_http_cookie_jar_unref(request->cookie_jar);
 	purple_http_keepalive_pool_unref(request->keepalive_pool);
+	g_free(request->method);
+	g_free(request->contents);
 	g_free(request->url);
 	g_free(request);
 }

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.