From: Richard Russon Date: Thu, 16 Feb 2017 12:40:37 +0000 (+0000) Subject: fix: resource leak - CID 76986 X-Git-Tag: neomutt-20170225~14^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=653b0468ccddb3217b1b5ac4ba1a7c9e65b40b54;p=neomutt fix: resource leak - CID 76986 --- diff --git a/sendlib.c b/sendlib.c index 8c297051a..5c66e789b 100644 --- a/sendlib.c +++ b/sendlib.c @@ -1851,6 +1851,7 @@ static int write_one_header (FILE *fp, int pfxw, int max, int wraplen, if (fold_one_header (fp, tagbuf, valbuf, pfx, wraplen, flags) < 0) { FREE (&valbuf); + FREE (&tagbuf); return -1; } FREE (&tagbuf);