[Libreoffice-commits] core.git: formula/source
Julien Nabet
serval2412 at yahoo.fr
Mon May 30 00:32:29 UTC 2016
formula/source/core/api/token.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7a2bca302f8299d70f77952110fb4ccfa4b258c2
Author: Julien Nabet <serval2412 at yahoo.fr>
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 <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index beec153..360449f 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])
More information about the Libreoffice-commits
mailing list