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