diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2016-05-29 21:49:08 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-30 00:32:03 +0000 |
commit | 7a2bca302f8299d70f77952110fb4ccfa4b258c2 (patch) | |
tree | bce6517ca9bdc017bf18abb84adb7ca2b632af80 /formula | |
parent | 2ad5055145201efe5a244656a0715b391149e825 (diff) |
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>
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/token.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index beec15318cd7..360449f2d602 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -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]) |