]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/mimecmn.cpp
Some Unicode compilation fixes. This Unicode stuff in file functions is
[wxWidgets.git] / 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 *