]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/mimecmn.cpp
wchar_t byte-swapping is not necessary if __STDC_ISO_10646__ is defined.
[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 *