Force fd close on error
This commit is contained in:
parent
76047bed25
commit
7a8a89d4d0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user