diff options
-rw-r--r-- | setup_native/source/win32/customactions/shellextensions/layerlinks.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_native/source/win32/customactions/shellextensions/layerlinks.cxx b/setup_native/source/win32/customactions/shellextensions/layerlinks.cxx index 680fc410d592..6ed56f5ce33d 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); |