Merge pull request #2941 from minggo/iss2304-refator-cclayer

fix a crash on android
This commit is contained in:
minggo 2013-06-20 00:06:55 -07:00
commit 9caa40590a
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ ZipFile::~ZipFile()
}
if (_dataThread && _dataThread->zipFile)
{
unzClose(_dataThread);
unzClose(_dataThread->zipFile);
}
CC_SAFE_DELETE(_data);
CC_SAFE_DELETE(_dataThread);