[PATCH] secur32/tests: Fix resource leak.
Andrey Gusev
andrey.goosev at gmail.com
Fri Jan 5 06:36:33 CST 2018
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
dlls/secur32/tests/schannel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/secur32/tests/schannel.c b/dlls/secur32/tests/schannel.c
index 21ebb6283f..7137b9cf9f 100644
--- a/dlls/secur32/tests/schannel.c
+++ b/dlls/secur32/tests/schannel.c
@@ -722,6 +722,7 @@ static void test_communication(void)
if (sock == SOCKET_ERROR)
{
skip("Can't create socket\n");
+ closesocket(sock);
return;
}
--
2.13.6
More information about the wine-devel
mailing list