From c0ef72dabe2ef0285faa990741dd7f5230c1e8a6 Mon Sep 17 00:00:00 2001 From: jca Date: Thu, 21 Aug 2014 16:46:48 +0000 Subject: [PATCH] Fix double free. ok guenther@ --- usr.bin/ftp/fetch.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- 2.20.1