[Libreoffice-commits] core.git: xmloff/source

Caolán McNamara caolanm at redhat.com
Sun Sep 17 11:00:36 UTC 2017


 xmloff/source/core/xmlimp.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit f0dccfadd1c378e2bb7798037b9220e0d0c29a09
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Sep 16 20:47:30 2017 +0100

    valgrind: still leaking on fdo72541-1.fodt
    
       by 0x43CEBF6E: cppu::OWeakObject::operator new(unsigned long) (weak.hxx:85)
       by 0x449732AE: SwXMLStylesContext_Impl::CreateStyleStyleChildContext(unsigned short, unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) (xmlfmt.cxx:734)
       by 0x147811F1: SvXMLStylesContext::CreateStyleChildContext(unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) (xmlstyle.cxx:387)
       by 0x449731C8: SwXMLStylesContext_Impl::CreateStyleChildContext(unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) (xmlfmt.cxx:719)
       by 0x14782A28: SvXMLStylesContext::CreateChildContext(unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) (xmlstyle.cxx:765)
       by 0x14517603: SvXMLImport::startElement(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&) (xmlimp.cxx:700)
       by 0x14511961: SvXMLImportContext::startUnknownElement(rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastAttributeList> const&) (xmlictxt.cxx:124)
       by 0x14511306: SvXMLImportContext::startFastElement(int, com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastAttributeList> const&) (xmlictxt.cxx:74)
       by 0x14518436: SvXMLImport::startFastElement(int, com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastAttributeList> const&) (xmlimp.cxx:850)
    
    Change-Id: I04062247f3bb7d8136768291f35a48f0ed78c54d
    Reviewed-on: https://gerrit.libreoffice.org/42359
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 3ea020a86e72..1da5e8212615 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -416,6 +416,7 @@ SvXMLImport::~SvXMLImport() throw ()
     // class dtors are full of application logic
     while (!maFastContexts.empty()) { maFastContexts.pop(); }
     while (!maContexts.empty()) { maContexts.pop(); }
+    DisposingModel();
 }
 
 namespace


More information about the Libreoffice-commits mailing list