https://git.reactos.org/?p=reactos.git;a=commitdiff;h=723544644747e283d0588…
commit 723544644747e283d05889c926fff7eb0b9e71d7
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sun Mar 13 18:51:41 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:22 2022 +0100
[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(a)gmail.com>
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id e4e7e956bd93f0ffd597a041a58c82c02c811ac0 by Zebediah Figura
<z.figura12(a)gmail.com>
---
dll/win32/msi/custom.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dll/win32/msi/custom.c b/dll/win32/msi/custom.c
index fc0246f2063..c3cb2416cfb 100644
--- a/dll/win32/msi/custom.c
+++ b/dll/win32/msi/custom.c
@@ -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;
}