X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/faa112c4ca49e1f1d9467107d6e54cb9986bd900..78c91815008ef5888231c6c7f3678872e9e35ff6:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index d126e10b8d..bed80097dd 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -217,7 +217,7 @@ static bool DoCommonPreInit() // initialization simply disappear under Windows // // note that we will delete this log target below - wxLog::SetActiveTarget(new wxLogBuffer); + delete wxLog::SetActiveTarget(new wxLogBuffer); #endif // wxUSE_LOG return true;