summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-18 01:26:17 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-02-18 01:58:44 +0100
commitae3138859ef193ee0c297c2a97026923abb43cd2 (patch)
tree6ff216d2e104c84f3e98f4414b1952a0ce44178f /lotuswordpro
parent7ae107542c62d6676132a89ae5519e70132f02d3 (diff)
coverity: new[] vs delete mismatch
Change-Id: Ic10d900b092c37ee627d3911200ebd29106cc360
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwplayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx
index 1c646f9ffc4f..b2333e0651b7 100644
--- a/lotuswordpro/source/filter/lwplayout.cxx
+++ b/lotuswordpro/source/filter/lwplayout.cxx
@@ -1392,7 +1392,7 @@ XFBGImage* LwpMiddleLayout::GetXFBGImage()
pXFBGImage->SetImageData(pGrafData, nDataLen);
if(pGrafData)
{
- delete pGrafData;
+ delete[] pGrafData;
pGrafData = NULL;
}
}