Commit 3199fe14 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

server: Removed duplicate close of acceptfd (Coverity).

parent 8f915156
......@@ -760,10 +760,7 @@ static int accept_into_socket( struct sock *sock, struct sock *acceptsock )
if (!(newfd = create_anonymous_fd( &sock_fd_ops, acceptfd, &acceptsock->obj,
get_fd_options( acceptsock->fd ) )))
{
close( acceptfd );
return FALSE;
}
}
acceptsock->state |= FD_WINE_CONNECTED|FD_READ|FD_WRITE;
......
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