aboutsummaryrefslogtreecommitdiff
path: root/src/SBaseCommon.cpp
diff options
context:
space:
mode:
authorLadislav Zezula <ladislav.zezula@avast.com>2021-12-26 11:36:55 +0100
committerLadislav Zezula <ladislav.zezula@avast.com>2021-12-26 11:36:55 +0100
commita5ef7a850aac844abf2e3859e26617ed596d4624 (patch)
tree92c30943d8df469bc2ee372c1c022c6dfa9fb95e /src/SBaseCommon.cpp
parentfb9b3d4ba173d3ff4c70b0e404f6b4ebee864ce9 (diff)
Fixed assert on some platforms
Diffstat (limited to 'src/SBaseCommon.cpp')
-rw-r--r--src/SBaseCommon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SBaseCommon.cpp b/src/SBaseCommon.cpp
index 2defdab..5b81bad 100644
--- a/src/SBaseCommon.cpp
+++ b/src/SBaseCommon.cpp
@@ -1681,6 +1681,8 @@ void FreeFileHandle(TMPQFile *& hf)
STORM_FREE(hf->SectorOffsets);
if(hf->SectorChksums != NULL)
STORM_FREE(hf->SectorChksums);
+ if(hf->hctx != NULL)
+ STORM_FREE(hf->hctx);
if(hf->pbFileSector != NULL)
STORM_FREE(hf->pbFileSector);
if(hf->pStream != NULL)