X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cc226ad756817bb711fb882f28e3a308f262687..63ced01b228ba426db163b75667a9b57d092f8db:/src/common/any.cpp diff --git a/src/common/any.cpp b/src/common/any.cpp index 5136577dc5..0fa1368257 100644 --- a/src/common/any.cpp +++ b/src/common/any.cpp @@ -223,8 +223,7 @@ public: } virtual void OnExit() { - delete g_wxAnyValueTypeGlobals; - g_wxAnyValueTypeGlobals = NULL; + wxDELETE(g_wxAnyValueTypeGlobals); } private: };