comparison libpurple/protocols/bonjour/jabber.c @ 19233:6e3cd5e80420

Don't trigger another libxml2 parse from within one of the parsing callbacks. References #1652.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 13 Aug 2007 21:02:17 +0000
parents 316be7e715c6
children 649ac48fce1d
comparison
equal deleted inserted replaced
19231:03d81500766d 19233:6e3cd5e80420
369 BonjourBuddy *bb = pb->proto_data; 369 BonjourBuddy *bb = pb->proto_data;
370 PurpleConversation *conv; 370 PurpleConversation *conv;
371 371
372 purple_debug_info("bonjour", "Recieved conversation close notification from %s.\n", pb->name); 372 purple_debug_info("bonjour", "Recieved conversation close notification from %s.\n", pb->name);
373 373
374 g_return_if_fail(bb != NULL);
375
374 /* Close the socket, clear the watcher and free memory */ 376 /* Close the socket, clear the watcher and free memory */
375 bonjour_jabber_close_conversation(bb->conversation); 377 bonjour_jabber_close_conversation(bb->conversation);
376 bb->conversation = NULL; 378 bb->conversation = NULL;
377 379
378 /* Inform the user that the conversation has been closed */ 380 /* Inform the user that the conversation has been closed */