[PATCH] secur32/tests: Fix resource leak.
Nikolay Sivov
nsivov at codeweavers.com
Fri Jan 5 06:52:50 CST 2018
On 01/05/2018 03:36 PM, Andrey Gusev wrote:
> 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;
> }
>
This doesn't do anything.
More information about the wine-devel
mailing list