X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3f78cebd7a1aa1c3edca197ea9cccb3eb5cba8e..88ed20a2fa4f57266013611975d973314634d20b:/src/common/appcmn.cpp 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(); }