From bcf02a8741c848807c4cc342077bbbec677f4b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 3 Oct 2003 18:30:38 +0000 Subject: [PATCH] fixed memory leak (#817324) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/helpfrm.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 31eab70e8c..0385b27dd7 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -761,6 +761,9 @@ void wxHtmlHelpFrame::CreateContents() imaged[it->m_Level] = TRUE; } } +#if wxUSE_PRINTING_ARCHITECTURE + if (m_Printer) delete m_Printer; +#endif }