+ Fixed crash when TMPQFile failed to allocate

+ ZLIB updated
This commit is contained in:
Ladislav Zezula
2013-10-10 08:42:13 +02:00
parent 24f9faffc9
commit 88b74cc6af
17 changed files with 859 additions and 1538 deletions

View File

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