summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-01-20 21:01:56 -0500
committerirungentoo <irungentoo@gmail.com>2014-01-20 21:01:56 -0500
commitbba5176f28dac1e9d528414cb43dec2ae478a8e1 (patch)
tree919d25999d50909be24086ff237375cc497ab0cb /toxcore/Messenger.c
parent8421e44ffbdcc157a8a46f4604e8823b3d9a9c5e (diff)
Adjusted some timeouts and fixed possible memory leak.
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r--toxcore/Messenger.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index 19246d7d..c1301767 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -1581,6 +1581,9 @@ void kill_messenger(Messenger *m)
1581 for (i = 0; i < numchats; ++i) 1581 for (i = 0; i < numchats; ++i)
1582 del_groupchat(m, i); 1582 del_groupchat(m, i);
1583 1583
1584 kill_onion(m->onion);
1585 kill_onion_announce(m->onion_a);
1586 kill_onion_client(m->onion_c);
1584 kill_DHT(m->dht); 1587 kill_DHT(m->dht);
1585 kill_net_crypto(m->net_crypto); 1588 kill_net_crypto(m->net_crypto);
1586 kill_networking(m->net); 1589 kill_networking(m->net);