sc/source/core/opencl/formulagroupcl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0b6fe077679e33ed91bf81796fe454cc75730916 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sat Apr 26 22:34:35 2014 +0200 cppcheck: fix "Mismatching allocation and deallocation" Change-Id: Ic007b07a82eb83978527254518d85c5a2903a48d Reviewed-on: https://gerrit.libreoffice.org/9175 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index ec5c4bf..ee614d6 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -3393,7 +3393,7 @@ DynamicKernel* DynamicKernel::create(ScDocument& /* rDoc */, #ifdef NO_FALLBACK_TO_SWINTERP assert(false); #else - free(pDynamicKernel); + delete pDynamicKernel; return NULL; #endif }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits