mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 12:02:47 -05:00
Fix another giant batch of resource leaks. (Mostly memory, but there's
one missing fclose too.) [originally from svn r9919]
This commit is contained in:
1
proxy.c
1
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);
|
||||
|
Reference in New Issue
Block a user