diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-04-16 18:56:31 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-04-16 18:56:31 +0000 |
commit | 4aa4e089488e3b6bb68e435d9f5ed697dd9ffc93 (patch) | |
tree | 46ca932d097df3633086f3bc80daa0a38b4df19d /protocols/Tox | |
parent | dd6b69062e49729c8fb4fc26bdcee2d3795e7416 (diff) |
Tox:
- Fixed memory leak
git-svn-id: http://svn.miranda-ng.org/main/trunk@12871 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox')
-rw-r--r-- | protocols/Tox/src/tox_profile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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;
}
|