[General] Fix memory leak in Log dtor

coverity_scan^2
Koncord 8 years ago
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…
Cancel
Save