mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Changed: Only delete _ProcessName if not NULL
--HG-- branch : develop
This commit is contained in:
parent
00ab100192
commit
18dfbcd5a7
1 changed files with 6 additions and 2 deletions
|
@ -615,9 +615,13 @@ void CLog::releaseProcessName()
|
||||||
{
|
{
|
||||||
INelContext::getInstance().releaseSingletonPointer("NLMISC::CLog::_ProcessName", _ProcessName);
|
INelContext::getInstance().releaseSingletonPointer("NLMISC::CLog::_ProcessName", _ProcessName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_ProcessName)
|
||||||
|
{
|
||||||
delete _ProcessName;
|
delete _ProcessName;
|
||||||
_ProcessName = NULL;
|
_ProcessName = NULL;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} // NLMISC
|
} // NLMISC
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue