X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/bc06669bcf2c0d331e231d18c0e14023433f9e79..f7aa4b367eaf2c1e928f97263bcf4da74680aff3:/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);