Fixed crash on exit.

This commit is contained in:
leo 2012-10-12 00:21:04 +00:00
parent 4d45d271e6
commit 3970dd3698

View file

@ -19,7 +19,8 @@ PieceInfo::PieceInfo(int ZipFileIndex)
PieceInfo::~PieceInfo()
{
Unload();
if (mRefCount)
Unload();
}
void PieceInfo::CreatePlaceholder(const char* Name)