From: jca Date: Thu, 21 Aug 2014 16:46:48 +0000 (+0000) Subject: Fix double free. ok guenther@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c0ef72dabe2ef0285faa990741dd7f5230c1e8a6;p=openbsd Fix double free. ok guenther@ --- 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);