From: Kevin McCarthy Date: Fri, 14 Sep 2018 21:21:04 +0000 (-0700) Subject: Free queries and alias_queries before exiting. X-Git-Tag: 2019-10-25~635^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=251b50209c1c1390a9f202cd54fa59452cd0c90c;p=neomutt Free queries and alias_queries before exiting. --- diff --git a/main.c b/main.c index 40dd2074f..cc6546361 100644 --- a/main.c +++ b/main.c @@ -740,7 +740,6 @@ int main(int argc, char *argv[], char *envp[]) if (!STAILQ_EMPTY(&queries)) { rc = mutt_query_variables(&queries); - mutt_list_free(&queries); goto main_curses; } @@ -1238,6 +1237,7 @@ main_curses: if (repeat_error && ErrorBufMessage) puts(ErrorBuf); main_exit: + mutt_list_free(&queries); crypto_module_free(); mutt_window_free(); mutt_envlist_free();