mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 08:06:07 +00:00
cmd: Close file opened with popen with correct function (coverity).
This commit is contained in:
parent
adce0d34f5
commit
9db570c6c3
|
@ -3470,7 +3470,7 @@ static RETURN_CODE for_control_execute_fileset(CMD_FOR_CONTROL *for_ctrl, CMD_NO
|
|||
return errorlevel = ERROR_INVALID_FUNCTION; /* FOR loop aborts at first failure here */
|
||||
}
|
||||
return_code = for_control_execute_from_FILE(for_ctrl, input, node);
|
||||
fclose(input);
|
||||
pclose(input);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue