diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-04-16 18:32:24 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-04-16 18:32:24 +0000 |
commit | 37edb76041ddaf7a500add3e49108a3106db43a8 (patch) | |
tree | 9850ad6aa3c0f73c00d8dac987899b36c6e693e6 /protocols/Tox/src/tox_avatars.cpp | |
parent | 5c365012d42bd08fce526394372d396caa6ea04c (diff) |
Tox:
- Fixed memory leaks
git-svn-id: http://svn.miranda-ng.org/main/trunk@12869 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_avatars.cpp')
-rw-r--r-- | protocols/Tox/src/tox_avatars.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_avatars.cpp b/protocols/Tox/src/tox_avatars.cpp index 1d9859f146..eb5bc71abb 100644 --- a/protocols/Tox/src/tox_avatars.cpp +++ b/protocols/Tox/src/tox_avatars.cpp @@ -44,6 +44,7 @@ void CToxProto::SetToxAvatar(std::tstring path, bool checkHash) {
fclose(hFile);
debugLogA(__FUNCTION__": failed to read avatar file");
+ mir_free(data);
return;
}
fclose(hFile);
|