diff options
author | 2013-12-19 11:23:29 +0000 | |
---|---|---|
committer | 2013-12-19 11:23:29 +0000 | |
commit | 80b8c34729b274404f4d8b1a49f8f6b5efbf14ca (patch) | |
tree | 4512306a0660eb351fe11003e03106f0ec320084 /usr.sbin/tftp-proxy/tftp-proxy.c | |
parent | recognize octeon 2 cpus; as found in the lanner mr326 (diff) | |
download | wireguard-openbsd-80b8c34729b274404f4d8b1a49f8f6b5efbf14ca.tar.xz wireguard-openbsd-80b8c34729b274404f4d8b1a49f8f6b5efbf14ca.zip |
plug mem leak; Ok benno@
Diffstat (limited to 'usr.sbin/tftp-proxy/tftp-proxy.c')
-rw-r--r-- | usr.sbin/tftp-proxy/tftp-proxy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/tftp-proxy/tftp-proxy.c b/usr.sbin/tftp-proxy/tftp-proxy.c index 173a902dfcf..bcbecd71846 100644 --- a/usr.sbin/tftp-proxy/tftp-proxy.c +++ b/usr.sbin/tftp-proxy/tftp-proxy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftp-proxy.c,v 1.5 2012/10/06 16:29:51 jmc Exp $ +/* $OpenBSD: tftp-proxy.c,v 1.6 2013/12/19 11:23:29 florian Exp $ * * Copyright (c) 2005 DLS Internet Services * Copyright (c) 2004, 2005 Camiel Dobbelaar, <cd@sentia.nl> @@ -546,6 +546,7 @@ proxy_listen(const char *addr, const char *port, int family) TAILQ_INSERT_TAIL(&proxy_listeners, l, entry); } + freeaddrinfo(res0); if (TAILQ_EMPTY(&proxy_listeners)) err(1, "%s", cause); |