summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-21 09:50:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-21 09:50:10 +0000
commit0076184101635db631aa005f7252b8c50c2d98b9 (patch)
tree9440d24cbadb79255d50084488b43d9a8585c6c0 /protocols/Tox
parent8d5ba8b33cad9eb86066fefc29102d2734f4a292 (diff)
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
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/src/tox_network.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp
index 4f68ad3c50..47b08a2396 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);