From: Richard Russon Date: Mon, 19 Mar 2018 09:42:14 +0000 (+0000) Subject: resource leak - mutt_log_start X-Git-Tag: neomutt-20180323~8^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34b281de1e410456851b937b27944597507773da;p=neomutt resource leak - mutt_log_start --- diff --git a/mutt_logging.c b/mutt_logging.c index 188ec07d0..1342a86e4 100644 --- a/mutt_logging.c +++ b/mutt_logging.c @@ -233,6 +233,7 @@ int mutt_log_start(void) return -1; log_file_set_filename(name, false); + FREE(&name); /* This will trigger the file creation */ if (log_file_set_level(DebugLevel, true) < 1)