server: Removed duplicate close of acceptfd (Coverity).

oldstable
Marcus Meissner 2012-10-10 10:06:55 +02:00 committed by Alexandre Julliard
parent 8f915156b9
commit 3199fe147d
1 changed files with 0 additions and 3 deletions

View File

@ -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;