[WINESYNC] 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>

wine commit id e4e7e956bd93f0ffd597a041a58c82c02c811ac0 by Zebediah Figura <z.figura12@gmail.com>
This commit is contained in:
winesync 2022-03-13 18:51:41 +01:00 committed by Mark Jansen
parent 461c9cb74a
commit 7235446447
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -595,7 +595,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;
}