fixed memory leak (#817324)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-10-03 18:30:38 +00:00
parent 72bfca58d9
commit 6c24d95cf9

View File

@@ -501,6 +501,9 @@ wxHtmlHelpFrame::~wxHtmlHelpFrame()
WX_CLEAR_HASH_TABLE(*m_PagesHash);
delete m_PagesHash;
}
#if wxUSE_PRINTING_ARCHITECTURE
if (m_Printer) delete m_Printer;
#endif
}