* config/obj-elf.c (obj_elf_section): Don't free the return
authorRichard Henderson <rth@redhat.com>
Sun, 6 Jun 1999 00:09:50 +0000 (00:09 +0000)
committerRichard Henderson <rth@redhat.com>
Sun, 6 Jun 1999 00:09:50 +0000 (00:09 +0000)
        value of demand_copy_C_string.

gas/ChangeLog
gas/config/obj-elf.c

index 5f066c22be31bd628e9f7d2d0a46a9065f06ef6a..494bf45703b15649bbf8f4e85ee66783ee22c45e 100644 (file)
@@ -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
index 065e08f7e3c66a53278060efba41aed81a8dad50..c20c3d459c5938525c309a90e857bf495dbe2dbe 100644 (file)
@@ -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 == '%')
                {
This page took 0.027407 seconds and 4 git commands to generate.