X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=proxy.c;h=70da38c3b8a40aafc1f1a6190906468b0899ec91;hb=f1d6fa47125cf625bfebdeca2b7d3c0022acd01c;hp=bb89a176ae80f3b523fea6ea72b910e2632c30eb;hpb=7c8841d881c9b034fa5e8ab97382bfb7da0b7e2a;p=PuTTY.git diff --git a/proxy.c b/proxy.c index bb89a176..70da38c3 100644 --- a/proxy.c +++ b/proxy.c @@ -473,6 +473,7 @@ Socket new_connection(SockAddr addr, char *hostname, conf_get_int(conf, CONF_addressfamily)); if (sk_addr_error(proxy_addr) != NULL) { ret->error = "Proxy error: Unable to resolve proxy host name"; + sfree(pplug); return (Socket)ret; } sfree(proxy_canonical_name);