Mercurial > pidgin
comparison libpurple/protocols/msn/nexus.c @ 21162:deebe08df2e9
Leak fix.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 07 Nov 2007 15:02:09 +0000 |
parents | c5df2bf2bf8e |
children | b2e646507c18 |
comparison
equal
deleted
inserted
replaced
21161:e119edfc0fb0 | 21162:deebe08df2e9 |
---|---|
192 "lc=%s&id=%s&tw=%s&fs=%s&ru=%s&ct=%s&kpp=%s&kv=%s&ver=%s&rn=%s&tpf=%s\r\n", | 192 "lc=%s&id=%s&tw=%s&fs=%s&ru=%s&ct=%s&kpp=%s&kv=%s&ver=%s&rn=%s&tpf=%s\r\n", |
193 lc,id,tw,fs,ru,ct,kpp,kv,ver,rn,tpf | 193 lc,id,tw,fs,ru,ct,kpp,kv,ver,rn,tpf |
194 ); | 194 ); |
195 | 195 |
196 /*build the SOAP windows Live ID XML body */ | 196 /*build the SOAP windows Live ID XML body */ |
197 tail = g_strdup_printf(TWN_ENVELOP_TEMPLATE,username,password,challenge_str ); | 197 tail = g_strdup_printf(TWN_ENVELOP_TEMPLATE, username, password, challenge_str); |
198 g_free(challenge_str); | 198 g_free(challenge_str); |
199 #else | 199 #else |
200 rst1_str = g_strdup_printf( | 200 rst1_str = g_strdup_printf( |
201 "id=%s&tw=%s&fs=%s&kpp=%s&kv=%s&ver=%s&rn=%s", | 201 "id=%s&tw=%s&fs=%s&kpp=%s&kv=%s&ver=%s&rn=%s", |
202 id,tw,fs,kpp,kv,ver,rn | 202 id,tw,fs,kpp,kv,ver,rn |
212 g_free(rst3_str); | 212 g_free(rst3_str); |
213 #endif | 213 #endif |
214 g_free(fs); | 214 g_free(fs); |
215 | 215 |
216 soap = msn_soap_message_new(NULL, xmlnode_from_str(tail, -1)); | 216 soap = msn_soap_message_new(NULL, xmlnode_from_str(tail, -1)); |
217 g_free(tail); | |
217 msn_soap_message_send(nexus->session, soap, MSN_TWN_SERVER, TWN_POST_URL, | 218 msn_soap_message_send(nexus->session, soap, MSN_TWN_SERVER, TWN_POST_URL, |
218 nexus_got_response_cb, nexus); | 219 nexus_got_response_cb, nexus); |
219 } | 220 } |
220 | 221 |