summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-01-12 20:29:35 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-01-12 20:29:35 +0000
commit0eab78fa8138134301a4887d292f5c2e4c260a34 (patch)
treee4d429a79c10d15840a230ce66cf550c3d1dd6b6 /protocols/Tox/src/tox_proto.h
parentd29a4479c7b502dd728af326511b26bc0f821542 (diff)
Tox:
- disabled profile encryption, because it unstable under windows - minor changes in file transfer - updated tox core git-svn-id: http://svn.miranda-ng.org/main/trunk@11845 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r--protocols/Tox/src/tox_proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h
index faf7baa84b..7dc29878b9 100644
--- a/protocols/Tox/src/tox_proto.h
+++ b/protocols/Tox/src/tox_proto.h
@@ -45,6 +45,10 @@ struct FileTransferParam
}
mir_free(pfts.pszFiles[0]);
mir_free(pfts.pszFiles);
+ if (hFile)
+ {
+ fclose(hFile);
+ }
}
};