Free chunks obtained by getaddrinfo(3).

Approved by:	des
This commit is contained in:
Hajimu UMEMOTO 2000-07-10 16:28:28 +00:00
parent cf2458c90e
commit 7487ef6243

View File

@ -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;