Force fd close on error

This commit is contained in:
akallabeth 2021-03-26 11:01:41 +01:00 committed by akallabeth
parent 76047bed25
commit 7a8a89d4d0

View File

@ -1053,7 +1053,7 @@ static UINT posix_file_get_range(struct posix_file* file, UINT64 offset, UINT32
out:
posix_file_read_close(file, FALSE);
posix_file_read_close(file, error != NO_ERROR);
return error;
}