summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-04 04:09:34 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-04 07:49:13 +0200
commit5fdab12b01d290c5f8dab7980f9d3e065d3ec2cc (patch)
treee192c0f7b85b9db10b97de921d311bcf226962f7
parent389d8e9f5232501ac782562ba7c07c052f19766d (diff)
fix new[]/delete mismatch
As seen by ooo90105-1.ods with memcheck Change-Id: Ib976632aa52556132b3d05ebb33e8fb64d8d9890
-rw-r--r--sc/source/filter/xml/xmldpimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmldpimp.cxx b/sc/source/filter/xml/xmldpimp.cxx
index 1714256218a0..3840a78e281e 100644
--- a/sc/source/filter/xml/xmldpimp.cxx
+++ b/sc/source/filter/xml/xmldpimp.cxx
@@ -1471,7 +1471,7 @@ ScXMLDataPilotSubTotalsContext::ScXMLDataPilotSubTotalsContext( ScXMLImport& rIm
ScXMLDataPilotSubTotalsContext::~ScXMLDataPilotSubTotalsContext()
{
- delete pFunctions;
+ delete[] pFunctions;
}
SvXMLImportContext *ScXMLDataPilotSubTotalsContext::CreateChildContext( sal_uInt16 nPrefix,