From de9066ff28d20c40c2a725b160b514f7e5593092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 17 Feb 2016 11:40:03 +0000 Subject: [PATCH] MFH (r295536): fix double-free error when SSL connection fails PR: 206774 Submitted by: Christian Heckendorf Approved by: re (glebius) --- lib/libfetch/http.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index 206648dd464b..ca522a6bcb8c 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -1435,7 +1435,6 @@ http_connect(struct url *URL, struct url *purl, const char *flags) } if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0 && fetch_ssl(conn, URL, verbose) == -1) { - fetch_close(conn); /* grrr */ errno = EAUTH; fetch_syserr();