Merge branch 'JFreegman-memleak'

This commit is contained in:
irungentoo 2014-07-16 20:00:04 -04:00
commit 129df0115f
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

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);
} }