msi: Close all handles opened by a custom action thread.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47418
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Zebediah Figura 2019-06-30 17:14:18 -05:00 committed by Alexandre Julliard
parent af35e10c14
commit e4e7e956bd
1 changed files with 2 additions and 1 deletions

View File

@ -580,7 +580,8 @@ UINT CDECL __wine_msi_call_dll_function(DWORD client_pid, const GUID *guid)
midl_user_free(dll);
midl_user_free(proc);
MsiCloseHandle(hPackage);
MsiCloseAllHandles();
return r;
}