2007-07-05 Michael Snyder * elflink.c (elf_link_add_object_symbols): Returns without freeing malloced memory (Coverity). Index: elflink.c =================================================================== RCS file: /cvs/src/src/bfd/elflink.c,v retrieving revision 1.267 diff -p -r1.267 elflink.c *** elflink.c 3 Jul 2007 14:26:42 -0000 1.267 --- elflink.c 5 Jul 2007 23:34:12 -0000 *************** elf_link_add_object_symbols (bfd *abfd, *** 3674,3680 **** tell it that we are about to handle an as-needed lib. */ if (!(*info->callbacks->notice) (info, NULL, abfd, NULL, notice_as_needed)) ! return FALSE; /* Clone the symbol table and sym hashes. Remember some --- 3674,3680 ---- tell it that we are about to handle an as-needed lib. */ if (!(*info->callbacks->notice) (info, NULL, abfd, NULL, notice_as_needed)) ! goto error_free_vers; /* Clone the symbol table and sym hashes. Remember some