X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3f78cebd7a1aa1c3edca197ea9cccb3eb5cba8e..0826c4d39a53f8691b9430207420e9d9e175a73f:/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(); }