diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-09-16 18:52:29 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-09-16 18:52:29 +0000 |
commit | 3c00a78191f46c10f036c789a9ef358f0e049d61 (patch) | |
tree | 96741c418983d401ebba418b579793c8c4959d30 /protocols/Tox/src/tox_contacts.cpp | |
parent | ab46b98479555c7106087f7d62b6c89f320ca311 (diff) |
Tox:
- attempt to fix numerous crashes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15366 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_contacts.cpp')
-rw-r--r-- | protocols/Tox/src/tox_contacts.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_contacts.cpp b/protocols/Tox/src/tox_contacts.cpp index 05ad622089..bee4f7a126 100644 --- a/protocols/Tox/src/tox_contacts.cpp +++ b/protocols/Tox/src/tox_contacts.cpp @@ -350,6 +350,7 @@ void CToxProto::OnConnectionStatusChanged(Tox*, uint32_t friendNumber, TOX_CONNE if (error != TOX_ERR_FILE_SEND_OK)
{
proto->logger->Log(__FUNCTION__": failed to set new avatar");
+ fclose(hFile);
return;
}
|