comparison src/protocols/jabber/jabber.c @ 2635:8c75e59e4bdf

[gaim-migrate @ 2648] no. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 29 Oct 2001 11:23:22 +0000
parents e0d4a23aac89
children 37d80035e77f
comparison
equal deleted inserted replaced
2634:7a3f7aebd4e5 2635:8c75e59e4bdf
357 if (strcmp(name, "stream:stream") == 0) { 357 if (strcmp(name, "stream:stream") == 0) {
358 /* special case: name == stream:stream */ 358 /* special case: name == stream:stream */
359 /* id attrib of stream is stored for digest auth */ 359 /* id attrib of stream is stored for digest auth */
360 j->sid = xmlnode_get_attrib(x, "id"); 360 j->sid = xmlnode_get_attrib(x, "id");
361 /* STATE_EVT(JCONN_STATE_AUTH) */ 361 /* STATE_EVT(JCONN_STATE_AUTH) */
362 xmlnode_free(x);
362 } else { 363 } else {
363 j->current = x; 364 j->current = x;
364 } 365 }
365 } 366 }
366 } 367 }
1220 g_hash_table_destroy(jd->hash); 1221 g_hash_table_destroy(jd->hash);
1221 if (gc->inpa) 1222 if (gc->inpa)
1222 gaim_input_remove(gc->inpa); 1223 gaim_input_remove(gc->inpa);
1223 close(jd->jc->fd); 1224 close(jd->jc->fd);
1224 g_timeout_add(50, jabber_free, jd->jc); 1225 g_timeout_add(50, jabber_free, jd->jc);
1226 xmlnode_free(jd->jc->current);
1225 jd->jc = NULL; 1227 jd->jc = NULL;
1226 g_free(jd); 1228 g_free(jd);
1227 gc->proto_data = NULL; 1229 gc->proto_data = NULL;
1228 } 1230 }
1229 1231