mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 16:53:01 +01:00
Terminate notify before windows
This fixes a use after free bug
This commit is contained in:
parent
610906d07f
commit
e7142e49fd
@ -173,9 +173,11 @@ void exit_toxic_success(Tox *m)
|
||||
{
|
||||
store_data(m, DATA_FILE);
|
||||
memset(&user_password, 0, sizeof(struct user_password));
|
||||
|
||||
terminate_notify();
|
||||
|
||||
kill_all_file_transfers(m);
|
||||
kill_all_windows(m);
|
||||
terminate_notify();
|
||||
|
||||
#ifdef AUDIO
|
||||
#ifdef VIDEO
|
||||
|
Loading…
Reference in New Issue
Block a user