diff options
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; |