X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3f78cebd7a1aa1c3edca197ea9cccb3eb5cba8e..63ced01b228ba426db163b75667a9b57d092f8db:/src/common/appcmn.cpp?ds=sidebyside diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index ea48ba716c..844aec1f42 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -128,8 +128,7 @@ void wxAppBase::CleanUp() wxDeleteStockLists(); - delete wxTheColourDatabase; - wxTheColourDatabase = NULL; + wxDELETE(wxTheColourDatabase); wxAppConsole::CleanUp(); }