From: Richard Russon Date: Mon, 12 Feb 2018 12:31:48 +0000 (+0000) Subject: fix crash when decoding parameters (#1056) X-Git-Tag: neomutt-20180223~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4da4f2dbbab48b5e724d2f00f1fc900516ffa15;p=neomutt fix crash when decoding parameters (#1056) --- diff --git a/rfc2231.c b/rfc2231.c index c8fa91fe7..6fc80f864 100644 --- a/rfc2231.c +++ b/rfc2231.c @@ -267,7 +267,7 @@ void rfc2231_decode_parameters(struct ParameterList *p) np->attribute = NULL; np->value = NULL; - FREE(&p); + FREE(&np); rfc2231_list_insert(&conthead, conttmp); }