diff options
author | ume <ume@FreeBSD.org> | 2000-07-10 16:28:28 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2000-07-10 16:28:28 +0000 |
commit | ae7af5f4bd1ef5d4c150feeb67d37489eb00d3a0 (patch) | |
tree | b8a670ff55b41c3a6bd5ccc053a730272a75ba2b /lib | |
parent | f5a6b75d841c7014bc80db9298b9e5bca7ad3f77 (diff) | |
download | FreeBSD-src-ae7af5f4bd1ef5d4c150feeb67d37489eb00d3a0.zip FreeBSD-src-ae7af5f4bd1ef5d4c150feeb67d37489eb00d3a0.tar.gz |
Free chunks obtained by getaddrinfo(3).
Approved by: des
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libfetch/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index 59f92cb..e1dea33 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -205,6 +205,7 @@ _fetch_connect(char *host, int port, int af, int verbose) close(sd); sd = -1; } + freeaddrinfo(res0); if (sd < 0) { _fetch_syserr(); return -1; |