X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/679918f93d18cff9fc833be3e4d34b4e57513aac..cc4d5638c66a409e421420ed7110917755a66788:/src/x11/app.cpp diff --git a/src/x11/app.cpp b/src/x11/app.cpp index acd1c49aef..2bfd972742 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 17/09/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -195,10 +194,8 @@ bool wxApp::Initialize(int& argC, wxChar **argV) void wxApp::CleanUp() { - delete wxWidgetHashTable; - wxWidgetHashTable = NULL; - delete wxClientWidgetHashTable; - wxClientWidgetHashTable = NULL; + wxDELETE(wxWidgetHashTable); + wxDELETE(wxClientWidgetHashTable); wxAppBase::CleanUp(); }