Nikolay Sivov : msi: Fixed same file handle closed twice (Coverity).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 11 08:22:28 CST 2016
Module: wine
Branch: master
Commit: ae3f25cc445e3dfd716fc1cb3e52dd9e5ec59338
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ae3f25cc445e3dfd716fc1cb3e52dd9e5ec59338
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Sun Jan 10 19:10:20 2016 +0300
msi: Fixed same file handle closed twice (Coverity).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msi/action.c | 1 -
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;
}
More information about the wine-cvs
mailing list