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

James Geboski jgeboski at gmail.com
Sat Jul 18 20:24:21 EDT 2015


Changeset: 565fbae05259a11e5975aa4c9469bc097a6f0019
Author:	 James Geboski <jgeboski at gmail.com>
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) {



More information about the Commits mailing list