]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed memory leak
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 27 Jul 2004 11:34:31 +0000 (11:34 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 27 Jul 2004 11:34:31 +0000 (11:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpfrm.cpp

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