Commit ea371a24 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

ws2_32: Add a missing call to release_sock_fd.

parent b69eb168
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment