From: Alan Modra Date: Tue, 23 Sep 2003 03:59:25 +0000 (+0000) Subject: * simple.c (bfd_simple_get_relocated_section_contents): Free the X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=010b84c1d31c9b6a24ec2d4407f7662c5db2470f;p=binutils-gdb.git * simple.c (bfd_simple_get_relocated_section_contents): Free the hash table using _bfd_generic_link_hash_table_free. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bffa6ec0cf7..a11ef676619 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-09-23 Alan Modra + + * simple.c (bfd_simple_get_relocated_section_contents): Free the + hash table using _bfd_generic_link_hash_table_free. + 2003-09-23 Alan Modra * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". Change diff --git a/bfd/simple.c b/bfd/simple.c index 9044c28b38d..afed604558d 100644 --- a/bfd/simple.c +++ b/bfd/simple.c @@ -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); }