From 4dd07732f266b95c1ddec864b415ff2f41e52212 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 8 Aug 2008 08:00:14 +0000 Subject: * elf.c (bfd_elf_get_elf_syms): Don't leak memory on error. * elflink.c (_bfd_elf_link_read_relocs): bfd_release on error. (elf_link_add_object_symbols): Don't leak memory on error. (bfd_elf_size_dynsym_hash_dynstr): Likewise. (elf_fixup_link_order): Free sections. --- bfd/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ea94b02..bf4cad1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2008-08-08 Alan Modra + + * elf.c (bfd_elf_get_elf_syms): Don't leak memory on error. + * elflink.c (_bfd_elf_link_read_relocs): bfd_release on error. + (elf_link_add_object_symbols): Don't leak memory on error. + (bfd_elf_size_dynsym_hash_dynstr): Likewise. + (elf_fixup_link_order): Free sections. + 2008-08-07 Richard Sandiford * elf-bfd.h (elf_backend_data): Add a "rela_plts_and_copies_p" field. -- cgit v1.1