X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/679918f93d18cff9fc833be3e4d34b4e57513aac..42cbde516210997d113e3671dc0bfffb01ac6a1d:/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(); }