ws2_32: Add a missing release_sock_fd.

This commit is contained in:
Bruno Jesus 2013-12-30 22:24:43 -02:00 committed by Alexandre Julliard
parent 7474a37050
commit b26ffddc8f

View file

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