Free chunks obtained by getaddrinfo(3).
Approved by: des
This commit is contained in:
parent
cf2458c90e
commit
7487ef6243
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user