X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/537760597bd4abea4e34ec4134d7c91365fb4328..0f2ecc913ba8f6998a3c77001e20210aca0b9d0a:/src/html/htmlpars.cpp?ds=sidebyside diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp index 3153ef819d..612f74bbfe 100644 --- a/src/html/htmlpars.cpp +++ b/src/html/htmlpars.cpp @@ -219,7 +219,9 @@ wxHtmlEntitiesParser::wxHtmlEntitiesParser() wxHtmlEntitiesParser::~wxHtmlEntitiesParser() { +#if wxUSE_WCHAR_T && !wxUSE_UNICODE delete m_conv; +#endif } void wxHtmlEntitiesParser::SetEncoding(wxFontEncoding encoding)