diff options
author | Jan Beulich <jbeulich@novell.com> | 2015-12-14 09:25:10 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2015-12-14 09:25:10 +0100 |
commit | 92e18d93433197e0cee12366b17297a984e76bd8 (patch) | |
tree | b45e8dda73a6d49de4dae38ec2879e49eadf4d69 /gas/dw2gencfi.c | |
parent | 552e55ed06b1e68dfde4fbf3dc0dbd9f43f92108 (diff) | |
download | gdb-92e18d93433197e0cee12366b17297a984e76bd8.zip gdb-92e18d93433197e0cee12366b17297a984e76bd8.tar.gz gdb-92e18d93433197e0cee12366b17297a984e76bd8.tar.bz2 |
gas: free allocated symbol name in .cfi_label handling
I've just noticed this further oversights of the original commit.
Diffstat (limited to 'gas/dw2gencfi.c')
-rw-r--r-- | gas/dw2gencfi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index 89bdc9a..8c1e379 100644 --- a/gas/dw2gencfi.c +++ b/gas/dw2gencfi.c @@ -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 (); } |