[Libreoffice-commits] core.git: sc/source
Julien Nabet
serval2412 at yahoo.fr
Sat Apr 26 13:36:22 PDT 2014
sc/source/core/opencl/formulagroupcl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d456fcd3454b2466553ba59a90bd62dd88cbbb7a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Apr 26 22:34:35 2014 +0200
cppcheck: fix "Mismatching allocation and deallocation"
Change-Id: Ic007b07a82eb83978527254518d85c5a2903a48d
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 3d06581..c9b23e6 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -3416,7 +3416,7 @@ DynamicKernel* DynamicKernel::create(ScDocument& /* rDoc */,
#ifdef NO_FALLBACK_TO_SWINTERP
assert(false);
#else
- free(pDynamicKernel);
+ delete pDynamicKernel;
return NULL;
#endif
}
More information about the Libreoffice-commits
mailing list