diff options
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r-- | protocols/Tox/src/tox_proto.h | 4 |
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);
+ }
}
};
|