im.pidgin.pidgin: 374a8877bfa4fa06b384482815befe37f2c72b9b

nosnilmot at pidgin.im nosnilmot at pidgin.im
Mon Nov 19 15:56:16 EST 2007


-----------------------------------------------------------------
Revision: 374a8877bfa4fa06b384482815befe37f2c72b9b
Ancestor: 110e884c24fe3779369c410f3ad805a500c8ad79
Author: nosnilmot at pidgin.im
Date: 2007-11-19T20:50:48
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/jabber/buddy.c

ChangeLog: 

Fix a double-free and a leak at the same time.

References: https://bugzilla.redhat.com/show_bug.cgi?id=390901

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/buddy.c	1e23ccfc9d2c635317fcb8e8b4a50a26fa9a8ab4
+++ libpurple/protocols/jabber/buddy.c	7600b5a5d174ff3c05ca5d78a64381e5f3fab6a1
@@ -558,7 +558,7 @@ void jabber_set_buddy_icon(PurpleConnect
 				g_free(widthstring);
 				heightstring = g_strdup_printf("%u", height);
 				xmlnode_set_attrib(info, "height", heightstring);
-				g_free(lengthstring);
+				g_free(heightstring);
 				
 				/* publish the metadata */
 				jabber_pep_publish((JabberStream*)gc->proto_data, publish);


More information about the Commits mailing list