X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/679918f93d18cff9fc833be3e4d34b4e57513aac..06a32e049c1bad9249079ad2e91659303424a774:/src/x11/app.cpp diff --git a/src/x11/app.cpp b/src/x11/app.cpp index acd1c49aef..775f77de6b 100644 --- a/src/x11/app.cpp +++ b/src/x11/app.cpp @@ -195,10 +195,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(); }