Fixed assert on some platforms

This commit is contained in:
Ladislav Zezula
2021-12-26 11:36:55 +01:00
parent fb9b3d4ba1
commit a5ef7a850a
4 changed files with 15 additions and 14 deletions

View File

@@ -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)