mirror of https://github.com/axmolengine/axmol.git
fixed #539 call unzOpen, then may not call unzClose(WVGA)
This commit is contained in:
parent
a676e0d401
commit
4793713daa
|
@ -55,8 +55,13 @@ bool isResourceExist(const char* pszResName)
|
|||
CC_BREAK_IF(nPos != UNZ_OK);
|
||||
|
||||
bRet = true;
|
||||
unzClose(pZipFile);
|
||||
|
||||
} while (0);
|
||||
|
||||
if (pZipFile)
|
||||
{
|
||||
unzClose(pZipFile);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue