https://git.reactos.org/?p=reactos.git;a=commitdiff;h=723544644747e283d05889c926fff7eb0b9e71d7

commit 723544644747e283d05889c926fff7eb0b9e71d7
Author:     winesync <[email protected]>
AuthorDate: Sun Mar 13 18:51:41 2022 +0100
Commit:     Mark Jansen <[email protected]>
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 <[email protected]>
    Signed-off-by: Hans Leidekker <[email protected]>
    Signed-off-by: Alexandre Julliard <[email protected]>
    
    wine commit id e4e7e956bd93f0ffd597a041a58c82c02c811ac0 by Zebediah Figura 
<[email protected]>
---
 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;
 }

Reply via email to