From bba5176f28dac1e9d528414cb43dec2ae478a8e1 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Mon, 20 Jan 2014 21:01:56 -0500 Subject: Adjusted some timeouts and fixed possible memory leak. --- toxcore/Messenger.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'toxcore/Messenger.c') 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) for (i = 0; i < numchats; ++i) del_groupchat(m, i); + kill_onion(m->onion); + kill_onion_announce(m->onion_a); + kill_onion_client(m->onion_c); kill_DHT(m->dht); kill_net_crypto(m->net_crypto); kill_networking(m->net); -- cgit v1.2.3