mirror of
https://github.com/reactos/wine.git
synced 2024-12-05 02:07:16 +00:00
ws2_32: Add a missing call to release_sock_fd.
This commit is contained in:
parent
b69eb16816
commit
ea371a2446
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user