fix memory leak

This commit is contained in:
Jfreegman 2014-07-16 18:29:00 -04:00
parent 0486510edc
commit 13b23b1a01
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -820,6 +820,7 @@ void do_groupchat(Group_Chat *chat)
void kill_groupchat(Group_Chat *chat) void kill_groupchat(Group_Chat *chat)
{ {
send_data(chat, 0, 0, GROUP_CHAT_QUIT); send_data(chat, 0, 0, GROUP_CHAT_QUIT);
kill_Assoc(chat->assoc);
free(chat->group); free(chat->group);
free(chat); free(chat);
} }