mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 06:21:29 -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()
|
||||
{
|
||||
if (sLog == NULL)
|
||||
return
|
||||
return;
|
||||
delete sLog;
|
||||
sLog = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user