summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/Messenger.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index f79d0891..d595c67d 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -1242,6 +1242,8 @@ void doInbound(Messenger *m)
1242 1242
1243 set_friend_status(m, friend_id, FRIEND_CONFIRMED); 1243 set_friend_status(m, friend_id, FRIEND_CONFIRMED);
1244 } 1244 }
1245
1246 crypto_kill(m->net_crypto, inconnection);
1245 } 1247 }
1246} 1248}
1247 1249