Call cleanup on bfd_check_format_matches error exit
authorAlan Modra <amodra@gmail.com>
Wed, 4 Mar 2020 00:57:29 +0000 (11:27 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 4 Mar 2020 01:10:01 +0000 (11:40 +1030)
commit1039fd9ac2a57b7634f60a66ea51e64f5ff69251
tree374f6e38472df058a1c07ce98530a2d92ef021d4
parenteef64366e1e9052b121a0c235c49be362aa2fe65
Call cleanup on bfd_check_format_matches error exit

* format.c (bfd_check_format_matches): Call cleanup on error exit.
bfd/ChangeLog
bfd/format.c