| commit | d2cca35960319a7a0087ffda4beb679a23181df4 | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Fri Dec 13 08:52:57 2024 +1030 |
| committer | Alan Modra <amodra@gmail.com> | Fri Dec 13 13:56:15 2024 +1030 |
| tree | f3658394b46536819301b2fc9862b4ea795efc5d | |
| parent | 27e69fa7e921760de0736355b9d8b7d1f3901486 [diff] |
objdump: Delete close optimisation In commit cd6581da62c3, Nick made an optimisation that was reasonable at the time, but then pr22032 came along and commit 7c0ed39626e3 made bfd_close_all_done free memory. So Nick's optimisation is now ineffective, and the comment wrong. * objdump.c (display_file): Delete last_file param. Update caller. Call bfd_close always.