cmd: Close file opened with popen with correct function (coverity).

This commit is contained in:
Fabian Maurer 2024-06-30 21:22:08 +02:00 committed by Alexandre Julliard
parent adce0d34f5
commit 9db570c6c3

View file

@ -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
{