* simple.c (bfd_simple_get_relocated_section_contents): Free the
authorAlan Modra <amodra@gmail.com>
Tue, 23 Sep 2003 03:59:25 +0000 (03:59 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Sep 2003 03:59:25 +0000 (03:59 +0000)
hash table using _bfd_generic_link_hash_table_free.

bfd/ChangeLog
bfd/simple.c

index bffa6ec0cf77c838618a1ae4779e35ede3aefb39..a11ef6766193c78d9cb5bef7902be4299b25a10b 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-23  Alan Modra  <alan@modra.org>
+
+       * simple.c (bfd_simple_get_relocated_section_contents): Free the
+       hash table using _bfd_generic_link_hash_table_free.
+
 2003-09-23  Alan Modra  <alan@modra.org>
 
        * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix".  Change
index 9044c28b38da13430f78be91a75fa3e28948fd0e..afed604558d898ea75851f12a927721afd9816b8 100644 (file)
@@ -265,7 +265,7 @@ bfd_simple_get_relocated_section_contents (bfd *abfd,
   bfd_map_over_sections (abfd, simple_restore_output_info, saved_offsets);
   free (saved_offsets);
 
-  bfd_link_hash_table_free (abfd, link_info.hash);
+  _bfd_generic_link_hash_table_free (link_info.hash);
 
   RETURN (contents);
 }