comparison 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
comparison
equal deleted inserted replaced
19790:4f21c73a0c48 19791:bddd32f36bde
100 100
101 /*destroy the soap connection*/ 101 /*destroy the soap connection*/
102 void 102 void
103 msn_soap_destroy(MsnSoapConn *soapconn) 103 msn_soap_destroy(MsnSoapConn *soapconn)
104 { 104 {
105 g_free(soapconn->login_host); 105 if(soapconn->login_host)
106 g_free(soapconn->login_path); 106 g_free(soapconn->login_host);
107
108 if(soapconn->login_path)
109 g_free(soapconn->login_path);
107 110
108 /*remove the write handler*/ 111 /*remove the write handler*/
109 if (soapconn->output_handler > 0){ 112 if (soapconn->output_handler > 0){
110 gaim_input_remove(soapconn->output_handler); 113 gaim_input_remove(soapconn->output_handler);
111 } 114 }