coff object_p memory leaks
authorAlan Modra <amodra@gmail.com>
Mon, 30 Dec 2019 10:47:08 +0000 (21:17 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 30 Dec 2019 13:20:35 +0000 (23:50 +1030)
commit37d5ab199b072e3cf1e8bf2a9262767c4737d256
treec50f9140126060f44d1c7f282f6e8e6d9020b96f
parent6a89db5c9513d5e00e02b01095bf0c18e496dcc8
coff object_p memory leaks

* coffgen.c (coff_real_object_p): Free malloc'd memory on failure.
bfd/ChangeLog
bfd/coffgen.c