]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elf.c
Re: bfd/elf.c strtab memory leak
authorAlan Modra <amodra@gmail.com>
Wed, 14 Jun 2023 04:16:56 +0000 (13:46 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 14 Jun 2023 04:54:33 +0000 (14:24 +0930)
commit48375c36dc59e3c0e6b9bf38f17f4692bddb578f
tree3a9603a7011dcc9d20c48599dca9b922eba40113
parent3bedac2939328dc74e9bfa36a26201ec0d9e0b61
Re: bfd/elf.c strtab memory leak

There are other places that leak the strtab.

* elf.c (_bfd_elf_compute_section_file_positions): Free strtab
on error paths.
bfd/elf.c