From b26ffddc8fc734d637681035a9b4b4d45d61f367 Mon Sep 17 00:00:00 2001 From: Bruno Jesus <00cpxxx@gmail.com> Date: Mon, 30 Dec 2013 22:24:43 -0200 Subject: [PATCH] ws2_32: Add a missing release_sock_fd. --- dlls/ws2_32/socket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index 36f2ac41090..0d6838e60b4 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -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());