mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'JFreegman-memleak'
This commit is contained in:
commit
129df0115f
|
@ -820,6 +820,7 @@ void do_groupchat(Group_Chat *chat)
|
|||
void kill_groupchat(Group_Chat *chat)
|
||||
{
|
||||
send_data(chat, 0, 0, GROUP_CHAT_QUIT);
|
||||
kill_Assoc(chat->assoc);
|
||||
free(chat->group);
|
||||
free(chat);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user