Remove a double free in the BFD library triggered when parsing a corrupt file.
authorNick Clifton <nickc@redhat.com>
Tue, 17 Mar 2020 16:45:07 +0000 (16:45 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 17 Mar 2020 16:45:07 +0000 (16:45 +0000)
commitecbbbdba7182865e522e0893915e9be487fe14b0
treea90e8fe2e43bd4612d7a100edccfdebb312a68cd
parenta225c9a8692814b4a29360479aee217d73e22d50
Remove a double free in the BFD library triggered when parsing a corrupt file.

PR 25687
* elf.c (_bfd_elf_slurp_secondary_reloc_section): Remove redundant
free.  Add free on another failure path.
bfd/ChangeLog
bfd/elf.c