[PATCH] msi: do not free hPackage twice or uninitialized (Coverity)

Marcus Meissner marcus at jet.franken.de
Sat Jul 21 04:01:16 CDT 2018


1438056 Uninitialized scalar variable

Signed-off-by: Marcus Meissner <marcus at jet.franken.de>
---
 dlls/msi/custom.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 1a8a982e48..0d683d5a80 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -581,7 +581,6 @@ UINT CDECL __wine_msi_call_dll_function(const GUID *guid)
 
     FreeLibrary(hModule);
 
-    MsiCloseHandle(hPackage);
     midl_user_free(dll);
     midl_user_free(proc);
 
-- 
2.18.0




More information about the wine-devel mailing list