ws2_32: Use wine_server_release_fd to close file descriptor.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2015-10-25 01:10:18 +02:00 committed by Alexandre Julliard
parent 54ecab2479
commit 5529fc736e
1 changed files with 1 additions and 1 deletions

View File

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