diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-08-04 07:44:44 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-08-04 07:44:44 +0000 |
commit | 249a777b4c9db937b77ac1ada455db0a325c1de5 (patch) | |
tree | 1873f59aa198cd624b91a8613224c06df29a3150 /gas/config/obj-elf.c | |
parent | 93845b75144da152aad8fd1202801f8890679121 (diff) | |
download | gdb-249a777b4c9db937b77ac1ada455db0a325c1de5.zip gdb-249a777b4c9db937b77ac1ada455db0a325c1de5.tar.gz gdb-249a777b4c9db937b77ac1ada455db0a325c1de5.tar.bz2 |
2011-08-04 Tristan Gingold <gingold@adacore.com>
* config/obj-elf.c (obj_elf_section): Do not free name.
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r-- | gas/config/obj-elf.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index 820f1cf..6e16a62 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -984,7 +984,6 @@ obj_elf_section (int push) if (beg == NULL) { ignore_rest_of_line (); - xfree (name); return; } attr |= obj_elf_parse_section_letters (beg, strlen (beg), &clone); @@ -1004,7 +1003,6 @@ obj_elf_section (int push) if (beg == NULL) { ignore_rest_of_line (); - xfree (name); return; } type = obj_elf_section_type (beg, strlen (beg), TRUE); @@ -1086,7 +1084,6 @@ obj_elf_section (int push) { as_bad (_("character following name is not '#'")); ignore_rest_of_line (); - xfree (name); return; } beg = ++input_line_pointer; |