changeset 32264:49d6ee09c74d

Fix a leak found by HanzZ.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 17 Aug 2011 22:00:37 +0000
parents 9723062caec7
children b24babbae157
files libpurple/protocols/msn/notification.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Wed Aug 17 04:10:02 2011 +0000
+++ b/libpurple/protocols/msn/notification.c	Wed Aug 17 22:00:37 2011 +0000
@@ -570,6 +570,7 @@
 		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",