mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-17 21:48:19 +01:00
+ Fixed crash when TMPQFile failed to allocate
+ ZLIB updated
This commit is contained in:
@@ -469,7 +469,7 @@ int SFileAddFile_Init(
|
||||
}
|
||||
|
||||
// If an error occured, remember it
|
||||
if(nError != ERROR_SUCCESS)
|
||||
if(nError != ERROR_SUCCESS && hf != NULL)
|
||||
hf->bErrorOccured = true;
|
||||
*phf = hf;
|
||||
return nError;
|
||||
|
||||
Reference in New Issue
Block a user