/soc/2015/jgeboski/facebook: f285d7983314: facebook: fixed the d...

James Geboski <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: f285d7983314f39e9abba531ec351aab5ef963e9
Author:	 James Geboski <[email protected]>
Date:	 2015-08-09 21:53 -0400
Branch:	 facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/f285d7983314

Description:

facebook: fixed the double free of a JsonNode

diffstat:

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

diffs (12 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
@@ -982,8 +982,6 @@ fb_api_message_parse_attach(FbApi *api, 
 
 			xode = fb_json_node_get_nth(node, 0);
 			msg->text = fb_api_message_parse_xma(api, xode, &err);
-
-			json_node_free(xode);
 			json_node_free(node);
 
 			if (G_UNLIKELY(err != 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.