X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dca2d56ff5dd95e7f9a0848f456adfd86c753e49..a8cc3ad1b0964273f932661a4a1145d1007e9a45:/src/common/mimecmn.cpp diff --git a/src/common/mimecmn.cpp b/src/common/mimecmn.cpp index 38a97a155b..80457d0b61 100644 --- a/src/common/mimecmn.cpp +++ b/src/common/mimecmn.cpp @@ -414,7 +414,8 @@ wxMimeTypesManager::wxMimeTypesManager() wxMimeTypesManager::~wxMimeTypesManager() { - delete m_impl; + if ( m_impl ) + delete m_impl; } wxFileType *