[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - xmloff/source

Caolán McNamara caolanm at redhat.com
Tue Jan 13 03:55:55 PST 2015


 xmloff/source/core/xmlimp.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 814e27ea3cae1277319559003380b7068ac82861
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jan 11 16:26:23 2015 +0000

    LeakSanitizer: leak detected in ooo56669-1.odt
    
    Change-Id: Ifdd98068762762316dbfd50fb465ed3c970f53d9
    (cherry picked from commit 5e6a4591d31619f9bf32a9891c59a6dcc3af80b5)
    Reviewed-on: https://gerrit.libreoffice.org/13862
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index d688e8f..3eaab08 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -443,6 +443,7 @@ SvXMLImport::~SvXMLImport() throw ()
     delete mpNamespaceMap;
     delete mpUnitConv;
     delete mpEventImportHelper;
+    delete mpFastContexts;
     if( mpContexts )
     {
         while( !mpContexts->empty() )
@@ -463,8 +464,7 @@ SvXMLImport::~SvXMLImport() throw ()
     delete mpNumImport;
     delete mpProgressBarHelper;
 
-    if( mpImpl )
-        delete mpImpl;
+    delete mpImpl;
 
     if (mxEventListener.is() && mxModel.is())
         mxModel->removeEventListener(mxEventListener);


More information about the Libreoffice-commits mailing list