X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..2e49a8074e7c9179b642852ff00ed8fdf0768bb1:/src/common/dynload.cpp?ds=inline diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index 1b28e9b47c..a76a190733 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -61,8 +61,7 @@ public: virtual void OnExit() { - delete wxPluginLibrary::ms_classes; - wxPluginLibrary::ms_classes = NULL; + wxDELETE(wxPluginLibrary::ms_classes); wxPluginManager::ClearManifest(); }