sc/source/core/opencl/formulagroupcl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d456fcd3454b2466553ba59a90bd62dd88cbbb7a
Author: Julien Nabet <serval2...@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
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to