From 715422aff640f04ca4330dcdcc95047ad9517325 Mon Sep 17 00:00:00 2001 From: Koncord Date: Fri, 24 Feb 2017 13:41:11 +0800 Subject: [PATCH] [General] Fix memory leak in Log dtor --- components/openmw-mp/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/openmw-mp/Log.cpp b/components/openmw-mp/Log.cpp index f46938616..e87c4a036 100644 --- a/components/openmw-mp/Log.cpp +++ b/components/openmw-mp/Log.cpp @@ -31,7 +31,7 @@ void Log::Create(int logLevel) void Log::Delete() { if (sLog == NULL) - return + return; delete sLog; sLog = NULL; }