summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2014-08-21 16:46:49 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2014-08-21 16:46:49 +0000
commit448de5b7f344f80a08537df33d9bfa6ab8a50ff7 (patch)
tree2c359ec475a303d573e0f1778c1ba42e21765c60 /usr.bin/ftp
parent50fe7283f1512231e5d49e038b45b149ce503056 (diff)
Fix double free. ok guenther@
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/fetch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ftp/fetch.c b/usr.bin/ftp/fetch.c
index 8a836128504..e130895d5f7 100644
--- a/usr.bin/ftp/fetch.c
+++ b/usr.bin/ftp/fetch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fetch.c,v 1.126 2014/07/14 09:26:27 jsing Exp $ */
+/* $OpenBSD: fetch.c,v 1.127 2014/08/21 16:46:48 jca Exp $ */
/* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */
/*-
@@ -975,7 +975,6 @@ cleanup_url_get:
ressl_free(ssl);
}
free(full_host);
- free(credentials);
#endif /* !SMALL */
if (fin != NULL)
fclose(fin);