From 4aa4e089488e3b6bb68e435d9f5ed697dd9ffc93 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 16 Apr 2015 18:56:31 +0000 Subject: Tox: - Fixed memory leak git-svn-id: http://svn.miranda-ng.org/main/trunk@12871 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_profile.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/Tox') diff --git a/protocols/Tox/src/tox_profile.cpp b/protocols/Tox/src/tox_profile.cpp index 2a22f24f90..f17e3f33d1 100644 --- a/protocols/Tox/src/tox_profile.cpp +++ b/protocols/Tox/src/tox_profile.cpp @@ -115,6 +115,7 @@ void CToxProto::SaveToxProfile() if (profile == NULL) { debugLogA(__FUNCTION__": failed to open tox profile"); + mir_free(data); return; } -- cgit v1.2.3