ftp: prevent double free() in error path
authornaddy <naddy@openbsd.org>
Thu, 25 Feb 2021 20:51:55 +0000 (20:51 +0000)
committernaddy <naddy@openbsd.org>
Thu, 25 Feb 2021 20:51:55 +0000 (20:51 +0000)
commita0c22864aaf49639d92dbf8f5ad7b104b51abe3b
tree95488a618fd290bb27e50d8983f9d88a194b03d3
parenta9a2a639c18589cbcef1f81b8516dfc5b4b073d9
ftp: prevent double free() in error path

Reported by bentley@; ok bentley@ jca@
usr.bin/ftp/fetch.c