From: Richard Russon Date: Thu, 16 Feb 2017 12:45:44 +0000 (+0000) Subject: fix: resource leak - CID 160977 X-Git-Tag: neomutt-20170225~14^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=refs%2Fpull%2F405%2Fhead;p=neomutt fix: resource leak - CID 160977 --- diff --git a/init.c b/init.c index 6edff68f2..1b361f75c 100644 --- a/init.c +++ b/init.c @@ -3900,7 +3900,10 @@ void mutt_init (int skip_sys_rc, LIST *commands) char *config = mutt_find_cfg (Homedir, xdg_cfg_home); if (config) + { Muttrc = mutt_add_list (Muttrc, config); + FREE(&config); + } } else {