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
}