mirror of
https://github.com/reactos/wine.git
synced 2025-01-10 13:50:56 +00:00
msi: Fixed same file handle closed twice (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a65ddbf153
commit
ae3f25cc44
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user