Mercurial > pidgin
diff libpurple/protocols/bonjour/buddy.h @ 19573:affacee881e8
Fix a couple potential leaks and prevent the avahi record resolver from being freed multiple times.
Thanks to Lennart from the Avahi team for suggestions on how to improve the avahi implementation.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 02 Sep 2007 17:54:44 +0000 |
parents | f773aa054dca |
children | 44b4e8bd759b |
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/buddy.h Sun Sep 02 14:40:04 2007 +0000 +++ b/libpurple/protocols/bonjour/buddy.h Sun Sep 02 17:54:44 2007 +0000 @@ -92,8 +92,9 @@ /** * If the buddy doesn't previoulsy exists, it is created. Else, its data is changed (???) + * purple_buddy is optional; it saves an additional lookup if we already have it */ -void bonjour_buddy_add_to_purple(BonjourBuddy *buddy); +void bonjour_buddy_add_to_purple(BonjourBuddy *bonjour_buddy, PurpleBuddy *purple_buddy); /** * We got the buddy icon data; deal with it