X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/b165006759a81e8ecc4e86e0540fd69343ea46e9..038ec85e825fc940c1387f64a88ae73b75f6822b:/unix/uxproxy.c diff --git a/unix/uxproxy.c b/unix/uxproxy.c index def8a40a..9dee690e 100644 --- a/unix/uxproxy.c +++ b/unix/uxproxy.c @@ -297,6 +297,7 @@ Socket platform_new_connection(SockAddr addr, char *hostname, if (pid < 0) { ret->error = dupprintf("fork: %s", strerror(errno)); + sfree(cmd); return (Socket)ret; } else if (pid == 0) { close(0);