summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ftp/fetch.c1
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
OpenPOWER on IntegriCloud