PR22191, memory leak in dwarf2.c
authorAlan Modra <amodra@gmail.com>
Sun, 24 Sep 2017 07:40:14 +0000 (17:10 +0930)
committerAlan Modra <amodra@gmail.com>
Sun, 24 Sep 2017 11:31:30 +0000 (21:01 +0930)
commita26a013f22a19e2c16729e64f40ef8a7dfcc086e
treee34c6fbf1e01b3d26e1b6409fc1a5a090a033064
parent52a93b95ec0771c97e26f0bb28630a271a667bd2
PR22191, memory leak in dwarf2.c

table->sequences is a linked list before it is replaced by a bfd_alloc
array in sort_line_sequences.

PR 22191
* dwarf2.c (decode_line_info): Properly free line sequences on error.
bfd/ChangeLog
bfd/dwarf2.c