From 2915c55b41d00f12ed6bc54b4160e3367065c1c8 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 4 Feb 2014 20:17:16 +0100 Subject: Fix PowerPC targets minor memory leaks found by Coverity bfd/ 2014-02-04 Jan Kratochvil * coff-rs6000.c (xcoff_write_archive_contents_big): Free OFFSETS in return paths. Three times. * elf64-ppc.c (ppc64_elf_link_hash_table_create): Free HTAB in all return paths. (ppc64_elf_tls_optimize): Free TOC_REF in return path. (ppc64_elf_edit_toc): Free USED in return path. --- bfd/ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b5d658b..e7ed98f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +2014-02-04 Jan Kratochvil + + * coff-rs6000.c (xcoff_write_archive_contents_big): Free OFFSETS in + return paths. Three times. + * elf64-ppc.c (ppc64_elf_link_hash_table_create): Free HTAB in all + return paths. + (ppc64_elf_tls_optimize): Free TOC_REF in return path. + (ppc64_elf_edit_toc): Free USED in return path. + 2014-02-03 Sandra Loosemore * reloc.c (BFD_RELOC_NIOS2_GOT_LO, BFD_RELOC_NIOS2_GOT_HA): New. -- cgit v1.1