ws2_32: Add a missing call to release_sock_fd.

This commit is contained in:
Sebastian Lackner 2015-04-14 07:37:50 +02:00 committed by Alexandre Julliard
parent b69eb16816
commit ea371a2446

View File

@ -3091,6 +3091,7 @@ static BOOL WINAPI WS2_ConnectEx(SOCKET s, const struct WS_sockaddr* name, int n
if (ret <= 0)
{
SetLastError(ret == -1 ? wsaErrno() : WSAEINVAL);
release_sock_fd( s, fd );
return FALSE;
}