diff options
Diffstat (limited to 'src/base/loader/hex_file.cc')
-rwxr-xr-x | src/base/loader/hex_file.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/loader/hex_file.cc b/src/base/loader/hex_file.cc index bfebc1b44..e26ac31e6 100755 --- a/src/base/loader/hex_file.cc +++ b/src/base/loader/hex_file.cc @@ -56,6 +56,8 @@ HexFile::HexFile(const string _filename) HexFile::~HexFile() { + if (fp != NULL) + fclose(fp); } bool |