mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-21 07:04:29 +01:00
+ Fixed defects found by Coverity (well, most of them)
This commit is contained in:
@@ -589,7 +589,10 @@ static bool FindPatchPrefix_SC2(TMPQArchive * haBase, TMPQArchive * haPatch)
|
||||
// Find a *-md5.lst file in the base archive
|
||||
pBaseEntry = FindBaseLstFile(haBase);
|
||||
if(pBaseEntry == NULL)
|
||||
{
|
||||
STORM_FREE(szLstFileName);
|
||||
return false;
|
||||
}
|
||||
|
||||
// Parse the entire file table
|
||||
for(pFileEntry = haPatch->pFileTable; pFileEntry < pFileTableEnd; pFileEntry++)
|
||||
|
||||
Reference in New Issue
Block a user