]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed (harmless) mem leak when wxUSE_THREADS == 0
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 2 Oct 2003 21:01:18 +0000 (21:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 2 Oct 2003 21:01:18 +0000 (21:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appcmn.cpp

index 778f5a2a7fb6afe3839f3593e8ca8646e0f97411..0f013b66d3b10b6b66e4dda1b5037ace7c834cef 100644 (file)
@@ -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;