[winpr,clipboard] close file after read
This commit is contained in:
parent
10404121c4
commit
53afedf9de
@ -1258,7 +1258,7 @@ static UINT file_get_range(struct synthetic_file* file, UINT64 offset, UINT32 si
|
||||
{
|
||||
free(buffer);
|
||||
}
|
||||
synthetic_file_read_close(file, (error != NO_ERROR) && (size > 0));
|
||||
synthetic_file_read_close(file, TRUE /* (error != NO_ERROR) && (size > 0) */);
|
||||
return error;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user