]> git.saurik.com Git - wxWidgets.git/commitdiff
Destructor for wxMimeTypesManager was deleting its member m_impl without checking...
authorGeorge Tasker <gtasker@allenbrook.com>
Wed, 31 Jan 2001 14:50:02 +0000 (14:50 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Wed, 31 Jan 2001 14:50:02 +0000 (14:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/mimecmn.cpp

index 38a97a155bf3da2817fea5afa0d6d2def3fa1051..80457d0b612606c9f4eb8c5e7dfa39bb1ad1baf1 100644 (file)
@@ -414,7 +414,8 @@ wxMimeTypesManager::wxMimeTypesManager()
 
 wxMimeTypesManager::~wxMimeTypesManager()
 {
-    delete m_impl;
+    if ( m_impl )
+        delete m_impl;
 }
 
 wxFileType *