Commit 5529fc73 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

ws2_32: Use wine_server_release_fd to close file descriptor.

parent 54ecab24
......@@ -2776,7 +2776,7 @@ static NTSTATUS WS2_ReadFile(HANDLE hFile, PIO_STATUS_BLOCK io_status, char* buf
else
status = STATUS_PENDING;
close( unix_handle );
wine_server_release_fd( hFile, unix_handle );
TRACE("= 0x%08x (%d)\n", status, result);
if (status == STATUS_SUCCESS || status == STATUS_END_OF_FILE)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment