From: Alan Modra Date: Fri, 18 Mar 2022 03:34:51 +0000 (+1030) Subject: Tidy gas current_frame before exit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e2c3422948db83ec54ef54e53403cc4fb4c4190;p=binutils-gdb.git Tidy gas current_frame before exit Releases some obstack memory on an error path. * cond.c (cond_finish_check): Call cond_exit_macro. --- diff --git a/gas/cond.c b/gas/cond.c index d5c0911d77e..b6e538a846f 100644 --- a/gas/cond.c +++ b/gas/cond.c @@ -561,6 +561,7 @@ cond_finish_check (int nest) as_bad_where (current_cframe->else_file_line.file, current_cframe->else_file_line.line, _("here is the \"else\" of the unterminated conditional")); + cond_exit_macro (nest); } }