Bruno Jesus : ws2_32: Add a missing release_sock_fd.
Alexandre Julliard
julliard at winehq.org
Tue Dec 31 11:11:43 CST 2013
Module: wine
Branch: master
Commit: b26ffddc8fc734d637681035a9b4b4d45d61f367
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b26ffddc8fc734d637681035a9b4b4d45d61f367
Author: Bruno Jesus <00cpxxx at gmail.com>
Date: Mon Dec 30 22:24:43 2013 -0200
ws2_32: Add a missing release_sock_fd.
---
dlls/ws2_32/socket.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 36f2ac4..0d6838e 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());
More information about the wine-cvs
mailing list