/soc/2015/jgeboski/facebook: 565fbae05259: facebook: fixed memor...

James Geboski <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 565fbae05259a11e5975aa4c9469bc097a6f0019
Author:	 James Geboski <[email protected]>
Date:	 2015-07-18 20:24 -0400
Branch:	 facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/565fbae05259

Description:

facebook: fixed memory leak from HTTP requesting

diffstat:

 libpurple/protocols/facebook/api.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/libpurple/protocols/facebook/api.c b/libpurple/protocols/facebook/api.c
--- a/libpurple/protocols/facebook/api.c
+++ b/libpurple/protocols/facebook/api.c
@@ -442,6 +442,7 @@ fb_api_http_req(FbApi *api, const FbApiH
 	                                     gstr->len);
 	fb_http_params_set_str(params, "sig", data);
 	g_string_free(gstr, TRUE);
+	g_list_free(keys);
 	g_free(data);
 
 	if (priv->token != NULL) {

_______________________________________________
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.