]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynload.cpp
fixing osx_cocoa
[wxWidgets.git] / src / common / dynload.cpp
index 1b28e9b47c688dcef4e43ee056ecd8a461235f31..a76a1907334f1b9e80f6586ee1d6932271deea68 100644 (file)
@@ -61,8 +61,7 @@ public:
 
     virtual void OnExit()
     {
-        delete wxPluginLibrary::ms_classes;
-        wxPluginLibrary::ms_classes = NULL;
+        wxDELETE(wxPluginLibrary::ms_classes);
         wxPluginManager::ClearManifest();
     }