Mercurial > pidgin.yaz
diff libpurple/protocols/bonjour/bonjour.c @ 17791: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 |
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/bonjour.c Fri Jun 08 05:06:47 2007 +0000 +++ b/libpurple/protocols/bonjour/bonjour.c Fri Jun 08 06:04:06 2007 +0000 @@ -277,7 +277,7 @@ return; } - bonjour_jabber_close_conversation(((BonjourData*)(connection->proto_data))->jabber_data, buddy); + bonjour_jabber_close_conversation(buddy); } static char * @@ -320,6 +320,8 @@ static gboolean plugin_unload(PurplePlugin *plugin) { + /* These shouldn't happen here because they are allocated in _init() */ + g_free(default_firstname); g_free(default_lastname); g_free(default_hostname);