coverity#704453: new[] vs delete mismatch
Change-Id: Idf32727e40605ab00c0423f57dbbcd744e898f7c
This commit is contained in:
parent
766170b61e
commit
9a05a482b0
1 changed files with 2 additions and 2 deletions
|
@ -458,7 +458,7 @@ Ww1Sprm::Ww1Sprm(SvStream& rStream, sal_uLong ulFilePos)
|
|||
|
||||
Ww1Sprm::~Ww1Sprm()
|
||||
{
|
||||
delete pArr;
|
||||
delete[] pArr;
|
||||
delete p;
|
||||
}
|
||||
|
||||
|
@ -532,7 +532,7 @@ sal_Bool Ww1Sprm::Fill(sal_uInt16 index, sal_uInt8& nId, sal_uInt16& nL, sal_uIn
|
|||
sal_Bool Ww1Sprm::ReCalc()
|
||||
{
|
||||
sal_Bool bRet = sal_True;
|
||||
delete pArr;
|
||||
delete[] pArr;
|
||||
pArr = NULL;
|
||||
count = 0;
|
||||
if (nCountBytes != 255) // not unused?
|
||||
|
|
Loading…
Reference in a new issue