formula/source/core/api/token.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fdd5860624f5e1c1cfbaea3c72e65c00ce3e1e5c Author: Julien Nabet <[email protected]> Date: Sun May 29 21:49:08 2016 +0200 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 <[email protected]> Tested-by: Markus Mohrhard <[email protected]> (cherry picked from commit 7a2bca302f8299d70f77952110fb4ccfa4b258c2) Reviewed-on: https://gerrit.libreoffice.org/25649 Reviewed-by: Eike Rathke <[email protected]> Tested-by: Eike Rathke <[email protected]> diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index 14a671b..c0b52b6 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -1520,7 +1520,7 @@ FormulaTokenArray * FormulaTokenArray::RewriteMissing( const MissingConvention & } if (pOcds != &aOpCodeDcountStack[0]) - delete [] pOcas; + delete [] pOcds; if (pOcas != &aOpCodeAddressStack[0]) delete [] pOcas; if (pCtx != &aCtx[0]) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
