gas: free allocated symbol name in .cfi_label handling

I've just noticed this further oversights of the original commit.
This commit is contained in:
Jan Beulich 2015-12-14 09:25:10 +01:00 committed by Jan Beulich
parent 552e55ed06
commit 92e18d9343
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-12-14 Jan Beulich <jbeulich@suse.com>
* dw2gencfi.c (dot_cfi_label): Free "name".
2015-12-11 Matthew Wahab <matthew.wahab@arm.com>
* config/tc-aarch64.c (aarch64_hint_opt_hsh): New.

View File

@ -1186,6 +1186,7 @@ dot_cfi_label (int ignored ATTRIBUTE_UNUSED)
cfi_add_advance_loc (symbol_temp_new_now ());
cfi_add_label (name);
free (name);
demand_empty_rest_of_line ();
}