X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75d07c0a3a675eb1504779451a170264490ebaa1..0d2bf8bf458752a18bf6227d65b95cbfe28906d5:/src/html/helpfrm.cpp diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index e317b21598..90b3c02c77 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -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 }