Fix a memory leak in the recent patch to detect loops in ELF section
authorNick Clifton <nickc@redhat.com>
Thu, 30 Oct 2014 09:37:45 +0000 (09:37 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 30 Oct 2014 09:37:45 +0000 (09:37 +0000)
commitb9f41ce6e5341cd1f6e1512585410396afbd299b
tree8424cbdc4a71ff606c01e9b7a35bb32ac458b8bb
parent6484b5ef0f4ad7c76ea4a95c10806d0982fd271c
Fix a memory leak in the recent patch to detect loops in ELF section
string indicies.

* elf.c (bfd_section_from_shdr): Fix heap use after free memory
leak.
bfd/ChangeLog
bfd/elf.c
ld/ChangeLog