From 0076184101635db631aa005f7252b8c50c2d98b9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 21 Jul 2016 09:50:10 +0000 Subject: [PATCH] fixes #1288: When change status tox to online Miranda crashed without crash report git-svn-id: http://svn.miranda-ng.org/main/trunk@17111 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_network.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp index 4f68ad3c508..47b08a2396e 100644 --- a/protocols/Tox/src/tox_network.cpp +++ b/protocols/Tox/src/tox_network.cpp @@ -267,6 +267,8 @@ void CToxProto::PollingThread(void*) debugLogA(__FUNCTION__": failed to initialize tox core (%d)", error); ShowNotification(ToxErrorToString(error), TranslateT("Unable to initialize Tox core"), MB_ICONERROR); tox_options_free(options); + debugLogA(__FUNCTION__": leaving"); + return; } tox_options_free(options);