From: Eric W. <war...@us...> - 2001-10-25 09:19:28
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory usw-pr-cvs1:/tmp/cvs-serv13553/src/protocols/jabber Modified Files: jabber.c Log Message: int main() { while(1) fork(); } Index: jabber.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- jabber.c 2001/10/14 11:36:36 1.22 +++ jabber.c 2001/10/25 09:19:25 1.23 @@ -1733,6 +1733,14 @@ return m; } +static void jabber_buddy_free(struct buddy *b) +{ + while (b->proto_data) { + g_free(((GSList *)b->proto_data)->data); + b->proto_data = g_slist_remove(b->proto_data, ((GSList *)b->proto_data)->data); + } +} + static struct prpl *my_protocol = NULL; void jabber_init(struct prpl *ret) @@ -1773,6 +1781,7 @@ ret->chat_send = jabber_chat_send; ret->keepalive = jabber_keepalive; ret->normalize = jabber_normalize; + ret->buddy_free = jabber_buddy_free; my_protocol = ret; } |