[General] Fix memory leak in Log dtor

This commit is contained in:
Koncord 2017-02-24 13:41:11 +08:00
parent ebaf3d3cc9
commit 715422aff6

View file

@ -31,7 +31,7 @@ void Log::Create(int logLevel)
void Log::Delete()
{
if (sLog == NULL)
return
return;
delete sLog;
sLog = NULL;
}