sshd: Fix mem leak after call GetCommandLineW (#112)

This commit is contained in:
Oleg S 2017-04-16 22:55:35 +03:00 committed by Manoj Ampalam
parent c3c5c1fa7f
commit ab9e5f0452
1 changed files with 1 additions and 0 deletions

1
sshd.c
View File

@ -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 * automatically be cleaned up on next iteration
*/ */
close(startup_p[1]); close(startup_p[1]);
free(path_utf8);
continue; continue;
} }