mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
[General] Fix memory leak in Log dtor
This commit is contained in:
parent
ebaf3d3cc9
commit
715422aff6
@ -31,7 +31,7 @@ void Log::Create(int logLevel)
|
|||||||
void Log::Delete()
|
void Log::Delete()
|
||||||
{
|
{
|
||||||
if (sLog == NULL)
|
if (sLog == NULL)
|
||||||
return
|
return;
|
||||||
delete sLog;
|
delete sLog;
|
||||||
sLog = NULL;
|
sLog = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user