Nullify deleted pointers.
This commit is contained in:
@@ -47,6 +47,7 @@ cMonsterConfig::cMonsterConfig(void)
|
||||
cMonsterConfig::~cMonsterConfig()
|
||||
{
|
||||
delete m_pState;
|
||||
m_pState = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user