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

Julien Nabet serval2412 at yahoo.fr
Tue Mar 12 14:08:49 PDT 2013


 svx/source/xml/xmlxtexp.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b926b0af7cf769fb8a018ccc89d7169eb32d6954
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue Mar 12 21:47:09 2013 +0100

    coverity#705734: Resource leak
    
    Change-Id: I04eba87de232958650c649c6ec18acb6b699b0ff
    Reviewed-on: https://gerrit.libreoffice.org/2689
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx
index 36de147..8ba2981 100644
--- a/svx/source/xml/xmlxtexp.cxx
+++ b/svx/source/xml/xmlxtexp.cxx
@@ -407,6 +407,7 @@ bool SvxXMLXTableExportComponent::exportTable() throw()
                 aAny = mxTable->getByName( *pNames );
                 pExporter->exportEntry( *pNames, aAny );
             }
+            delete pExporter;
 
             bRet = true;
         }


More information about the Libreoffice-commits mailing list