=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/Attic/http.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/ftp/Attic/http.c 2019/05/12 20:58:19 1.5 --- src/usr.bin/ftp/Attic/http.c 2019/05/12 22:48:03 1.6 *************** *** 1,4 **** ! /* $OpenBSD: http.c,v 1.5 2019/05/12 20:58:19 jasper Exp $ */ /* * Copyright (c) 2015 Sunil Nimmagadda --- 1,4 ---- ! /* $OpenBSD: http.c,v 1.6 2019/05/12 22:48:03 tb Exp $ */ /* * Copyright (c) 2015 Sunil Nimmagadda *************** *** 269,277 **** --- 269,282 ---- useragent); code = http_request(url->scheme, req, &headers); freezero(auth, authlen); + auth = NULL; + authlen = 0; free(range); + range = NULL; free(path); + path = NULL; free(req); + req = NULL; switch (code) { case 200: if (*offset) {