X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40b83d2901a46081a0a20ff92e5613bf52aa8684..d80096a2dd44ba751402a22dcc2f4a500cb55d9c:/src/html/htmlwin.cpp?ds=sidebyside diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 261bb4b8d6..c51d80c296 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -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;