From: Richard Henderson Date: Sun, 6 Jun 1999 00:09:50 +0000 (+0000) Subject: * config/obj-elf.c (obj_elf_section): Don't free the return X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=623356292c94e0a7bfb8e055db1c9fdf14d799b7;p=binutils-gdb.git * config/obj-elf.c (obj_elf_section): Don't free the return value of demand_copy_C_string. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 5f066c22be3..494bf45703b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +1999-06-06 Richard Henderson + + * config/obj-elf.c (obj_elf_section): Don't free the return + value of demand_copy_C_string. + 1999-06-05 Richard Henderson * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index 065e08f7e3c..c20c3d459c5 100644 --- a/gas/config/obj-elf.c +++ b/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 == '%') {