From 4c4f57653456a8190d32fa95e6744e25526c826d Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Mon, 19 Mar 2018 10:20:01 +0000 Subject: [PATCH] resource leak - mutt_log_set_file --- mutt_logging.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mutt_logging.c b/mutt_logging.c index 1342a86e4..8d4c1b579 100644 --- a/mutt_logging.c +++ b/mutt_logging.c @@ -291,6 +291,7 @@ int mutt_log_set_file(const char *file, bool verbose) return 0; log_file_set_filename(name, verbose); + FREE(&name); mutt_str_replace(&DebugFile, file); return 0; -- 2.40.0