From: Matthias Andree Date: Thu, 2 Mar 2017 23:53:27 +0000 (-0800) Subject: SSL: Fix memory leak in subject alternative name code. (closes #3920) X-Git-Tag: neomutt-20170306~2^2~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89dc13cfe042842739122b7180f295b14657f403;p=neomutt SSL: Fix memory leak in subject alternative name code. (closes #3920) --- diff --git a/mutt_ssl.c b/mutt_ssl.c index 457ea091c..ca42bba26 100644 --- a/mutt_ssl.c +++ b/mutt_ssl.c @@ -873,6 +873,7 @@ static int check_host (X509 *x509cert, const char *hostname, char *err, size_t e } } } + GENERAL_NAMES_free(subj_alt_names); } if (!match_found)