diff options
author | Alan Modra <amodra@gmail.com> | 2022-03-18 14:04:51 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-03-18 16:37:36 +1030 |
commit | 9e2c3422948db83ec54ef54e53403cc4fb4c4190 (patch) | |
tree | 4760391cd273bc197b2a61d5d64c81540c416559 /gas | |
parent | ecc263d676f1b9b568d95d9b6f678186cc825670 (diff) | |
download | gdb-9e2c3422948db83ec54ef54e53403cc4fb4c4190.zip gdb-9e2c3422948db83ec54ef54e53403cc4fb4c4190.tar.gz gdb-9e2c3422948db83ec54ef54e53403cc4fb4c4190.tar.bz2 |
Tidy gas current_frame before exit
Releases some obstack memory on an error path.
* cond.c (cond_finish_check): Call cond_exit_macro.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/cond.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } } |