setup_native/source/win32/customactions/shellextensions/layerlinks.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 456b64a1080b4cc88147174ccb85185bedfe3516 Author: Julien Nabet <serval2...@yahoo.fr> Date: Tue Apr 29 10:03:18 2014 +0200 Mismatch alloc/dealloc Cppcheck can't detect these cases for the moment See http://sourceforge.net/apps/trac/cppcheck/ticket/5740 Change-Id: Iac3b5bdea8078b02d78afb53bb8afcb2673b4316 Reviewed-on: https://gerrit.libreoffice.org/9193 Tested-by: David Tardon <dtar...@redhat.com> Reviewed-by: David Tardon <dtar...@redhat.com> diff --git a/setup_native/source/win32/customactions/shellextensions/layerlinks.cxx b/setup_native/source/win32/customactions/shellextensions/layerlinks.cxx index 680fc41..6ed56f5 100644 --- a/setup_native/source/win32/customactions/shellextensions/layerlinks.cxx +++ b/setup_native/source/win32/customactions/shellextensions/layerlinks.cxx @@ -132,11 +132,11 @@ extern "C" UINT __stdcall CreateLayerLinks(MSIHANDLE handle) WriteFile( hfile, lpPathUTF8, strlen(lpPathUTF8) ,&dummy, 0 ); - delete lpPathUTF8; + delete[] lpPathUTF8; } } - delete lpPathW; + delete[] lpPathW; } CloseHandle(hfile); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits