mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:28:19 +00:00
server: Removed duplicate close of acceptfd (Coverity).
This commit is contained in:
parent
8f915156b9
commit
3199fe147d
|
@ -760,11 +760,8 @@ 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;
|
||||
acceptsock->hmask = 0;
|
||||
|
|
Loading…
Reference in a new issue