msi: Fix memory leak.

Dmitry Timoshkov dmitry at baikal.ru
Tue May 21 02:08:17 CDT 2013


---
 dlls/msi/custom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 1a6b858..5b58976 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -878,6 +878,7 @@ static UINT HANDLE_CustomType50( MSIPACKAGE *package, const WCHAR *source, const
     TRACE("exe %s arg %s\n", debugstr_w(exe), debugstr_w(arg));
 
     handle = execute_command( exe, arg, szCRoot );
+    msi_free( exe );
     msi_free( arg );
     if (handle == INVALID_HANDLE_VALUE) return ERROR_SUCCESS;
     return wait_process_handle( package, type, handle, action );
-- 
1.8.2.3




More information about the wine-patches mailing list