diff src/protocols/msn/soap.c @ 19791:bddd32f36bde

[gaim-migrate @ 16653] a version can show the windows Live ID's Info correctly ready to send the oim,need to check committed by Ma Yuan<mayuan2006@gmail.com> committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Sun, 06 Aug 2006 15:16:46 +0000
parents 4f21c73a0c48
children 3a15b4e5c336
line wrap: on
line diff
--- a/src/protocols/msn/soap.c	Wed Aug 02 05:44:42 2006 +0000
+++ b/src/protocols/msn/soap.c	Sun Aug 06 15:16:46 2006 +0000
@@ -102,8 +102,11 @@
 void
 msn_soap_destroy(MsnSoapConn *soapconn)
 {
-	g_free(soapconn->login_host);
-	g_free(soapconn->login_path);
+	if(soapconn->login_host)
+		g_free(soapconn->login_host);
+
+	if(soapconn->login_path)
+		g_free(soapconn->login_path);
 
 	/*remove the write handler*/
 	if (soapconn->output_handler > 0){