/soc/2015/jgeboski/facebook: 0878bc1ef872: facebook: fixed memor...

James Geboski <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 0878bc1ef872e7e639625b90c2c03f94bd19b8f4
Author:	 James Geboski <[email protected]>
Date:	 2015-08-18 19:11 -0400
Branch:	 facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/0878bc1ef872

Description:

facebook: fixed memory leak with contact parsing

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
@@ -1758,6 +1758,7 @@ fb_api_contact_parse(FbApi *api, FbApiUs
 	    !purple_strequal(str, "ARE_FRIENDS") &&
 	    (user->uid != priv->uid))
 	{
+		fb_json_values_free(values);
 		return FALSE;
 	}
 

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