X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/0f0a25075f6e788462506686cf538bc13a5beedb..c524da73c079265e1fb0c8c9d24f0be1a6b910f5:/unix/uxproxy.c diff --git a/unix/uxproxy.c b/unix/uxproxy.c index cd256fdb..b3f75e81 100644 --- a/unix/uxproxy.c +++ b/unix/uxproxy.c @@ -299,5 +299,8 @@ Socket platform_new_connection(SockAddr addr, char *hostname, uxsel_set(ret->from_cmd, 1, localproxy_select_result); + /* We are responsible for this and don't need it any more */ + sk_addr_free(addr); + return (Socket) ret; }