From c8b1e8049eeb9e1669d4d4255ff759c3e83cad5a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 2 Oct 2003 21:01:18 +0000 Subject: [PATCH] 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 --- src/common/appcmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;