changeset 31108:055740edeb79

Missed a few more xmlnode_free's.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 10 Dec 2009 07:49:34 +0000
parents 40a3dbdcf958
children fc7798a661f7
files libpurple/protocols/msn/state.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/state.c	Thu Dec 10 07:36:26 2009 +0000
+++ b/libpurple/protocols/msn/state.c	Thu Dec 10 07:49:34 2009 +0000
@@ -172,7 +172,6 @@
 	currentmediaNode = xmlnode_get_child(payloadNode, "CurrentMedia");
 	if (currentmediaNode == NULL) {
 		purple_debug_info("msn", "No CurrentMedia Node\n");
-		xmlnode_free(payloadNode);
 		return NULL;
 	}
 	currentmedia = xmlnode_get_data(currentmediaNode);
@@ -191,7 +190,6 @@
 	psmNode = xmlnode_get_child(payloadNode, "PSM");
 	if (psmNode == NULL) {
 		purple_debug_info("msn", "No PSM status Node\n");
-		xmlnode_free(payloadNode);
 		return NULL;
 	}
 	psm = xmlnode_get_data(psmNode);