server: Removed duplicate close of acceptfd (Coverity).
This commit is contained in:
parent
8f915156b9
commit
3199fe147d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue