sshd: Fix mem leak after call GetCommandLineW (#112)
This commit is contained in:
parent
c3c5c1fa7f
commit
ab9e5f0452
1
sshd.c
1
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
|
* automatically be cleaned up on next iteration
|
||||||
*/
|
*/
|
||||||
close(startup_p[1]);
|
close(startup_p[1]);
|
||||||
|
free(path_utf8);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue