comparison src/server.c @ 1053:864f4aae0b60

[gaim-migrate @ 1063] i am so smart i am so smart s-m-r-t committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 03 Nov 2000 01:33:28 +0000
parents 713b0e14e0a9
children bde34730789c
comparison
equal deleted inserted replaced
1052:25f121faa75e 1053:864f4aae0b60
658 sprintf(debug_buff, "Leaving room %s.\n", b->name); 658 sprintf(debug_buff, "Leaving room %s.\n", b->name);
659 debug_print(debug_buff); 659 debug_print(debug_buff);
660 660
661 g->buddy_chats = g_slist_remove(g->buddy_chats, b); 661 g->buddy_chats = g_slist_remove(g->buddy_chats, b);
662 662
663 while (b->in_room) {
664 char *tmp = b->in_room->data;
665 b->in_room = g_list_remove(b->in_room, tmp);
666 g_free(tmp);
667 }
668
663 g_free(b); 669 g_free(b);
664 } 670 }
665 671
666 void serv_got_chat_in(struct gaim_connection *g, int id, char *who, int whisper, char *message) 672 void serv_got_chat_in(struct gaim_connection *g, int id, char *who, int whisper, char *message)
667 { 673 {