Re: Fix an aout memory leak
authorAlan Modra <amodra@gmail.com>
Tue, 28 Mar 2023 22:43:17 +0000 (09:13 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 29 Mar 2023 02:26:46 +0000 (12:56 +1030)
commit647744420e69bf5fc8f5ab88a9d7dabd6087a890
tree16a447220f6a684dc2018ea1d2016a6f4b1ab8fb
parent3901d7da4eef4bd362e5c20189d0dc44c07d168b
Re: Fix an aout memory leak

We have way too much duplicated code in bfd.  Apply dd3a3d0af9f6 and
920581c57e08 to pdp11.c.

* pdp11.c (bfd_free_cached_info): Free line_buf.  Return true
if tdata.aout_data is NULL.
bfd/pdp11.c