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:
Nikolay Sivov 2016-01-10 19:10:20 +03:00 committed by Alexandre Julliard
parent a65ddbf153
commit ae3f25cc44

View File

@ -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;
}