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

Markus Mohrhard markus.mohrhard at collabora.co.uk
Wed Jun 11 07:21:13 PDT 2014


 sc/source/filter/xml/xmldpimp.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 070f85e97c3f288791f92534ee40011cbe6b7c7e
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Wed Jun 4 04:09:34 2014 +0200

    fix new[]/delete mismatch
    
    As seen by ooo90105-1.ods with memcheck
    
    Conflicts:
    	sc/source/filter/xml/xmldpimp.cxx
    
    Change-Id: Ib976632aa52556132b3d05ebb33e8fb64d8d9890
    Reviewed-on: https://gerrit.libreoffice.org/9716
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/filter/xml/xmldpimp.cxx b/sc/source/filter/xml/xmldpimp.cxx
index 6ec52ef..d9d0ebb 100644
--- a/sc/source/filter/xml/xmldpimp.cxx
+++ b/sc/source/filter/xml/xmldpimp.cxx
@@ -1470,6 +1470,7 @@ ScXMLDataPilotSubTotalsContext::ScXMLDataPilotSubTotalsContext( ScXMLImport& rIm
 
 ScXMLDataPilotSubTotalsContext::~ScXMLDataPilotSubTotalsContext()
 {
+    delete[] pFunctions;
 }
 
 SvXMLImportContext *ScXMLDataPilotSubTotalsContext::CreateChildContext( sal_uInt16 nPrefix,


More information about the Libreoffice-commits mailing list