im.pidgin.pidgin: 023bbf40f2ace632a36775360d2101e19370b4e5

datallah at pidgin.im datallah at pidgin.im
Wed Nov 7 10:06:04 EST 2007


-----------------------------------------------------------------
Revision: 023bbf40f2ace632a36775360d2101e19370b4e5
Ancestor: 645aa07330425e8ec239e478449e818df8061bdf
Author: datallah at pidgin.im
Date: 2007-11-07T15:02:09
Branch: im.pidgin.pidgin

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

ChangeLog: 

Leak fix.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/nexus.c	72ba9c92cbb3eb5675efedc7cc9a54b769adbc28
+++ libpurple/protocols/msn/nexus.c	34860e451b2f20f5a4f7c6a71f6a8e93f5e2dff8
@@ -194,7 +194,7 @@ msn_nexus_connect(MsnNexus *nexus)
 		);
 
 	/*build the SOAP windows Live ID XML body */
-	tail = g_strdup_printf(TWN_ENVELOP_TEMPLATE,username,password,challenge_str	);
+	tail = g_strdup_printf(TWN_ENVELOP_TEMPLATE, username, password, challenge_str);
 	g_free(challenge_str);
 #else
 	rst1_str = g_strdup_printf(
@@ -214,6 +214,7 @@ msn_nexus_connect(MsnNexus *nexus)
 	g_free(fs);
 
 	soap = msn_soap_message_new(NULL, xmlnode_from_str(tail, -1));
+	g_free(tail);
 	msn_soap_message_send(nexus->session, soap, MSN_TWN_SERVER, TWN_POST_URL,
 		nexus_got_response_cb, nexus);
 }


More information about the Commits mailing list