Browse Source

* config/obj-elf.c (obj_elf_section): Don't free the return

value of demand_copy_C_string.
gdb-premipsmulti-2000-06-06-branch
Richard Henderson 28 years ago
parent
commit
623356292c
  1. 5
      gas/ChangeLog
  2. 2
      gas/config/obj-elf.c

5
gas/ChangeLog

@ -1,3 +1,8 @@
1999-06-06 Richard Henderson <rth@cygnus.com>
* config/obj-elf.c (obj_elf_section): Don't free the return
value of demand_copy_C_string.
1999-06-05 Richard Henderson <rth@cygnus.com>
* dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol

2
gas/config/obj-elf.c

@ -801,7 +801,6 @@ obj_elf_section (push)
return;
}
attr |= obj_elf_parse_section_letters (beg, strlen (beg));
free (beg);
SKIP_WHITESPACE ();
if (*input_line_pointer == ',')
@ -819,7 +818,6 @@ obj_elf_section (push)
return;
}
type = obj_elf_section_type (beg, strlen (beg));
free (beg);
}
else if (c == '@' || c == '%')
{

Loading…
Cancel
Save