pidgin: 5b939418: Fix a leak found by HanzZ.

qulogic at pidgin.im qulogic at pidgin.im
Wed Aug 17 18:05:47 EDT 2011


----------------------------------------------------------------------
Revision: 5b939418dcdb2654857fed5fa53fcae5e9390605
Parent:   030562224e7707b52229042ef74e233aa81a016a
Author:   qulogic at pidgin.im
Date:     08/17/11 18:00:37
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/5b939418dcdb2654857fed5fa53fcae5e9390605

Changelog: 

Fix a leak found by HanzZ.

Changes against parent 030562224e7707b52229042ef74e233aa81a016a

  patched  libpurple/protocols/msn/notification.c

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c	ed1c99db474591f4d4071332e512bd96e86a4613
+++ libpurple/protocols/msn/notification.c	d568c550413334155dfcabc1b8673c1316437b12
@@ -570,6 +570,7 @@ update_contact_network(MsnSession *sessi
 		payload = xmlnode_to_str(adl_node, &payload_len);
 		msn_notification_post_adl(session->notification->cmdproc, payload, payload_len);
 		g_free(payload);
+		xmlnode_free(adl_node);
 	} else {
 		purple_debug_error("msn",
 		                   "Got FQY update for unknown user %s on network %d.\n",


More information about the Commits mailing list