X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cc226ad756817bb711fb882f28e3a308f262687..b00403b401b75f95b6984cf5d0f6d71492f0a1f9:/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: };