diff options
author | ru <ru@FreeBSD.org> | 2000-09-25 11:38:28 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-09-25 11:38:28 +0000 |
commit | 061b585fd081d6c4dcb90b4b70a9b611028f58be (patch) | |
tree | 6f6ed2de637606da06592ad75ea7a45705fc14bb /usr.bin/ftp | |
parent | ee7b6df7c62957ae4213109864a9066f88dd481e (diff) | |
download | FreeBSD-src-061b585fd081d6c4dcb90b4b70a9b611028f58be.zip FreeBSD-src-061b585fd081d6c4dcb90b4b70a9b611028f58be.tar.gz |
Do not call freeaddrinfo(res0) twice.
PR: bin/21476
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r-- | usr.bin/ftp/fetch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c index ae5a2fa..2fc48ee 100644 --- a/usr.bin/ftp/fetch.c +++ b/usr.bin/ftp/fetch.c @@ -270,6 +270,7 @@ url_get(origline, proxyenv) break; } freeaddrinfo(res0); + res0 = NULL; /* * Construct and send the request. We're expecting a return |