[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Julien Nabet
serval2412 at yahoo.fr
Mon Apr 28 04:15:54 PDT 2014
sc/source/core/opencl/formulagroupcl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0b6fe077679e33ed91bf81796fe454cc75730916
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
Reviewed-on: https://gerrit.libreoffice.org/9175
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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
}
More information about the Libreoffice-commits
mailing list