From: Vadim Zeitlin Date: Thu, 2 Oct 2003 21:01:18 +0000 (+0000) Subject: fixed (harmless) mem leak when wxUSE_THREADS == 0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c8b1e8049eeb9e1669d4d4255ff759c3e83cad5a fixed (harmless) mem leak when wxUSE_THREADS == 0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 778f5a2a7f..0f013b66d3 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -140,10 +140,10 @@ void wxAppBase::CleanUp() delete wxTheColourDatabase; wxTheColourDatabase = NULL; -#if wxUSE_THREADS delete wxPendingEvents; wxPendingEvents = NULL; +#if wxUSE_THREADS delete wxPendingEventsLocker; wxPendingEventsLocker = NULL;