Tidy gas current_frame before exit

Releases some obstack memory on an error path.

	* cond.c (cond_finish_check): Call cond_exit_macro.
This commit is contained in:
Alan Modra 2022-03-18 14:04:51 +10:30
parent ecc263d676
commit 9e2c342294

View file

@ -561,6 +561,7 @@ cond_finish_check (int nest)
as_bad_where (current_cframe->else_file_line.file, as_bad_where (current_cframe->else_file_line.file,
current_cframe->else_file_line.line, current_cframe->else_file_line.line,
_("here is the \"else\" of the unterminated conditional")); _("here is the \"else\" of the unterminated conditional"));
cond_exit_macro (nest);
} }
} }