coverity#705740 Resource leak
Change-Id: I646d7eabf77843f639ede33d018eac338c5d0d27
This commit is contained in:
@@ -938,7 +938,10 @@ sal_Bool SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
|
||||
{
|
||||
if( !( pTmpBox = pLine->GetTabBoxes()[ nSttBox + nBx ])
|
||||
->GetSttNd() )
|
||||
{
|
||||
delete pInsFLine;
|
||||
return sal_False;
|
||||
}
|
||||
// if Ok, insert the Box into the FndLine
|
||||
pFndBox = new _FndBox( pTmpBox, pInsFLine );
|
||||
pInsFLine->GetBoxes().insert( pInsFLine->GetBoxes().begin() + nBx, pFndBox );
|
||||
|
Reference in New Issue
Block a user