comparison libpurple/protocols/bonjour/bonjour.c @ 17553:61005dea822b

Cleanup, fix a leak and prevent the inbound xml from being parsed twice for every message.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 08 Jun 2007 06:04:06 +0000
parents a62a695ccfb5
children 612dc5149964
comparison
equal deleted inserted replaced
17552:a8aa651f341f 17553:61005dea822b
275 * exist, so we won't have any data about them. 275 * exist, so we won't have any data about them.
276 */ 276 */
277 return; 277 return;
278 } 278 }
279 279
280 bonjour_jabber_close_conversation(((BonjourData*)(connection->proto_data))->jabber_data, buddy); 280 bonjour_jabber_close_conversation(buddy);
281 } 281 }
282 282
283 static char * 283 static char *
284 bonjour_status_text(PurpleBuddy *buddy) 284 bonjour_status_text(PurpleBuddy *buddy)
285 { 285 {
318 } 318 }
319 319
320 static gboolean 320 static gboolean
321 plugin_unload(PurplePlugin *plugin) 321 plugin_unload(PurplePlugin *plugin)
322 { 322 {
323 /* These shouldn't happen here because they are allocated in _init() */
324
323 g_free(default_firstname); 325 g_free(default_firstname);
324 g_free(default_lastname); 326 g_free(default_lastname);
325 g_free(default_hostname); 327 g_free(default_hostname);
326 328
327 return TRUE; 329 return TRUE;