[PATCH] msi: Fixed same file handle closed twice (Coverity)

Nikolay Sivov nsivov at codeweavers.com
Sun Jan 10 10:10:20 CST 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/msi/action.c | 1 -

It's already closed unconditionally couple of lines below.

 1 file changed, 1 deletion(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 136bfbb..8c1bff3 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -4135,7 +4135,6 @@ static UINT ITERATE_PublishIcon(MSIRECORD *row, LPVOID param)
         if (rc != ERROR_SUCCESS)
         {
             ERR("Failed to get stream\n");
-            CloseHandle(the_file);  
             DeleteFileW(FilePath);
             break;
         }
-- 
2.6.4




More information about the wine-patches mailing list