From ab9e5f04524732d96d8b2b90255927ef243d3479 Mon Sep 17 00:00:00 2001 From: Oleg S Date: Sun, 16 Apr 2017 22:55:35 +0300 Subject: [PATCH] sshd: Fix mem leak after call GetCommandLineW (#112) --- sshd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sshd.c b/sshd.c index cb22cbb0e..b52ef5674 100644 --- a/sshd.c +++ b/sshd.c @@ -1320,6 +1320,7 @@ server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) * automatically be cleaned up on next iteration */ close(startup_p[1]); + free(path_utf8); continue; }