fixed memory leak

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-07-27 11:34:31 +00:00
parent 564cb9de61
commit 418b7d6ba5

View File

@@ -559,6 +559,8 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id,
wxHtmlHelpFrame::~wxHtmlHelpFrame() wxHtmlHelpFrame::~wxHtmlHelpFrame()
{ {
delete m_mergedIndex;
// PopEventHandler(); // wxhtmlhelpcontroller (not any more!) // PopEventHandler(); // wxhtmlhelpcontroller (not any more!)
if (m_DataCreated) if (m_DataCreated)
delete m_Data; delete m_Data;