From: Tristan Gingold Date: Thu, 4 Aug 2011 07:44:44 +0000 (+0000) Subject: 2011-08-04 Tristan Gingold X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=249a777b4c9db937b77ac1ada455db0a325c1de5;p=binutils-gdb.git 2011-08-04 Tristan Gingold * config/obj-elf.c (obj_elf_section): Do not free name. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 74f92c70c46..d1f16359344 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2011-08-04 Tristan Gingold + + * config/obj-elf.c (obj_elf_section): Do not free name. + 2011-08-03 James Greenhalgh * config/tc-arm.c (do_t_strexbh): New. diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index 820f1cf908f..6e16a62629b 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;