cid#1362174, 1362177: USE_AFTER_FREE+resource leak due to copypasta
Change-Id: Icd903335fdef3921781e2f16e98a0e10bda31e3f Reviewed-on: https://gerrit.libreoffice.org/25641 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
parent
2ad5055145
commit
7a2bca302f
1 changed files with 1 additions and 1 deletions
|
@ -1469,7 +1469,7 @@ FormulaTokenArray * FormulaTokenArray::RewriteMissing( const MissingConvention &
|
|||
}
|
||||
|
||||
if (pOcds != &aOpCodeDcountStack[0])
|
||||
delete [] pOcas;
|
||||
delete [] pOcds;
|
||||
if (pOcas != &aOpCodeAddressStack[0])
|
||||
delete [] pOcas;
|
||||
if (pCtx != &aCtx[0])
|
||||
|
|
Loading…
Reference in a new issue