Module: wine Branch: master Commit: 84d91bb93d97a79b63d7f81ebc828e9eeb66efd0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=84d91bb93d97a79b63d7f81ebc...
Author: Bruno Jesus 00cpxxx@gmail.com Date: Sat Jan 18 19:07:52 2014 -0200
ws2_32/tests: Add missing closesocket calls (Coverity).
---
dlls/ws2_32/tests/sock.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 0abf732..8cee632 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -1061,6 +1061,9 @@ static void test_WithWSAStartup(void) ok(error == WSAENOTSOCK, "expected 10038, got %d\n", error); }
+ closesocket(src); + closesocket(dst); + WSACleanup(); }