summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-07 17:07:28 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-07 17:09:07 +0200
commitbca132cae4d0f207fac2a2f31620cd4a90814016 (patch)
treec28f9f42318d6e51ad7a1dc9ce8422290c0b3261 /sw
parenta7b7f03a219c63632093a58ca998ae0382f2e77a (diff)
coverity#704453: new[] vs delete mismatch
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww1/w1class.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww1/w1class.cxx b/sw/source/filter/ww1/w1class.cxx
index 3ccddb0a63fd..4c93211d1290 100644
--- a/sw/source/filter/ww1/w1class.cxx
+++ b/sw/source/filter/ww1/w1class.cxx
@@ -459,7 +459,7 @@ Ww1Sprm::Ww1Sprm(SvStream& rStream, sal_uLong ulFilePos)
Ww1Sprm::~Ww1Sprm()
{
delete[] pArr;
- delete p;
+ delete[] p;
}
sal_uInt16 Ww1SingleSprm::Size(sal_uInt8* /*pSprm*/)