mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
ws2_32: Add a missing release_sock_fd.
This commit is contained in:
parent
7474a37050
commit
b26ffddc8f
1 changed files with 1 additions and 0 deletions
|
@ -3302,6 +3302,7 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level,
|
|||
if ( (fd = get_sock_fd( s, 0, NULL )) == -1)
|
||||
return SOCKET_ERROR;
|
||||
res = getsockopt( fd, SOL_IRLMP, IRLMP_ENUMDEVICES, buf, &len );
|
||||
release_sock_fd( s, fd );
|
||||
if (res < 0)
|
||||
{
|
||||
SetLastError(wsaErrno());
|
||||
|
|
Loading…
Reference in a new issue