X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/fd66175e28ee5fd0ff15fa4b3439278e97a22712..f85e6f6edb2c9415bc10bd2015479d72ea8c5ae2:/mac/otnet.c diff --git a/mac/otnet.c b/mac/otnet.c index 970a78e5..7881e02a 100644 --- a/mac/otnet.c +++ b/mac/otnet.c @@ -324,6 +324,8 @@ Socket ot_new(SockAddr addr, int port, int privport, int oobinline, ret->next->prev = &ret->next; ot.socklist = ret; + /* XXX: don't know whether we can sk_addr_free(addr); */ + return (Socket) ret; }