mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-22 14:56:13 +00:00
Changed: Only delete _ProcessName if not NULL
This commit is contained in:
parent
63c925371d
commit
e3e2fe0e74
1 changed files with 6 additions and 2 deletions
|
@ -615,8 +615,12 @@ void CLog::releaseProcessName()
|
|||
{
|
||||
INelContext::getInstance().releaseSingletonPointer("NLMISC::CLog::_ProcessName", _ProcessName);
|
||||
}
|
||||
|
||||
if (_ProcessName)
|
||||
{
|
||||
delete _ProcessName;
|
||||
_ProcessName = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
} // NLMISC
|
||||
|
|
Loading…
Reference in a new issue