From 9d94fd978fc3fa8b32721ce523e46262ab88e392 Mon Sep 17 00:00:00 2001 From: Andreas Hauptmann Date: Mon, 20 Mar 2017 19:46:32 +0100 Subject: [PATCH] win: fix memory leak inside uv__pipe_getname MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/libuv/libuv/pull/1265 Reviewed-By: Colin Ihrig Reviewed-By: Santiago Gimeno Reviewed-By: Saúl Ibarra Corretgé --- src/win/pipe.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/win/pipe.c b/src/win/pipe.c index 473f1fc5..d64fadf6 100644 --- a/src/win/pipe.c +++ b/src/win/pipe.c @@ -2072,7 +2072,6 @@ static int uv__pipe_getname(const uv_pipe_t* handle, char* buffer, size_t* size) buffer[addrlen] = '\0'; err = 0; - goto cleanup; error: uv__free(name_info);