]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed memory leak (#817324)
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 3 Oct 2003 18:30:38 +0000 (18:30 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 3 Oct 2003 18:30:38 +0000 (18:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpfrm.cpp

index e317b2159841a2ca4f22974a6279ef3f6035ae85..90b3c02c777eefb348c10a86ede26899ab34b03b 100644 (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
 }