summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-04 04:09:34 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-06-10 18:25:19 +0200
commita70f0e271d90e0d0ad5a7897a5f3644ffd135a1d (patch)
tree7d7e0341dbe8451e46d997172e374d91994ec2c7 /sc
parent4e4d17fb5cc06387554c69d075fc063bedfb55d8 (diff)
fix new[]/delete mismatch
As seen by ooo90105-1.ods with memcheck Change-Id: Ib976632aa52556132b3d05ebb33e8fb64d8d9890 Conflicts: sc/source/filter/xml/xmldpimp.cxx
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmldpimp.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/xml/xmldpimp.cxx b/sc/source/filter/xml/xmldpimp.cxx
index 6ec52ef37f32..d9d0ebb0223e 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,