1
0

Nullify deleted pointers.

This commit is contained in:
archshift
2014-06-19 01:49:56 -07:00
parent 35a4aa419c
commit e8143de01b
35 changed files with 75 additions and 18 deletions

View File

@@ -473,6 +473,7 @@ cWSSCompact::cPAKFile::cPAKFile(const AString & a_FileName, int a_LayerX, int a_
{
LOGERROR("ERROR READING %s FROM FILE %s (line %d); file offset %d", "Header", m_FileName.c_str(), __LINE__, f.Tell());
delete Header;
Header = NULL;
return;
}
m_ChunkHeaders.push_back(Header);