]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
fixed a crash
[wxWidgets.git] / src / html / htmlwin.cpp
index 261bb4b8d682ef2325bb38655e4001be15792bca..c51d80c2969d47239ab3c564b433a187c6d04e61 100644 (file)
@@ -203,7 +203,10 @@ wxHtmlWindow::~wxHtmlWindow()
 
     if (m_Cell) delete m_Cell;
 
-    WX_CLEAR_LIST(wxHtmlProcessorList, *m_Processors);
+    if ( m_Processors )
+    {
+        WX_CLEAR_LIST(wxHtmlProcessorList, *m_Processors);
+    }
 
     delete m_Parser;
     delete m_FS;