[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH] msi: Close all handles opened by a custom action thread.
From:       Zebediah Figura <z.figura12 () gmail ! com>
Date:       2019-06-30 22:14:18
Message-ID: 20190630221418.7344-1-z.figura12 () gmail ! com
[Download RAW message or body]

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47418
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
---
 dlls/msi/custom.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 03f9b085c04..b864270690b 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -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;
 }
-- 
2.22.0




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic