cpw.qulogic.msnp16: 1c5849f7: Missed a few more xmlnode_free's.

qulogic at pidgin.im qulogic at pidgin.im
Mon Dec 14 02:27:03 EST 2009


-----------------------------------------------------------------
Revision: 1c5849f7066d108991ae559313b4261db4a4f990
Ancestor: f8dcb3da4fa5dcdfd0aea75d5ed77a095dab57ed
Author: qulogic at pidgin.im
Date: 2009-12-10T07:49:34
Branch: im.pidgin.cpw.qulogic.msnp16
URL: http://d.pidgin.im/viewmtn/revision/info/1c5849f7066d108991ae559313b4261db4a4f990

Modified files:
        libpurple/protocols/msn/state.c

ChangeLog: 

Missed a few more xmlnode_free's.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/state.c	82b2b87f8f64430076c6238dfba4742803ecdabb
+++ libpurple/protocols/msn/state.c	e0349a143fff7a2aaf1e6af10a4199a14b6f0a34
@@ -172,7 +172,6 @@ msn_get_currentmedia(xmlnode *payloadNod
 	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 @@ msn_get_psm(xmlnode *payloadNode)
 	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);


More information about the Commits mailing list