1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Fix a few more memory and resource leaks.

[originally from svn r9968]
This commit is contained in:
Simon Tatham
2013-07-22 19:55:55 +00:00
parent e5d3a353cc
commit eb19a35a3d
3 changed files with 9 additions and 2 deletions

View File

@ -474,6 +474,7 @@ Socket new_connection(SockAddr addr, char *hostname,
if (sk_addr_error(proxy_addr) != NULL) {
ret->error = "Proxy error: Unable to resolve proxy host name";
sfree(pplug);
sk_addr_free(proxy_addr);
return (Socket)ret;
}
sfree(proxy_canonical_name);