Duplicate DW_AT_call_file leak
authorAlan Modra <amodra@gmail.com>
Sun, 26 Mar 2023 08:19:13 +0000 (18:49 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 27 Mar 2023 11:28:46 +0000 (21:58 +1030)
commit92479281c4621e8d71565f76b879e36bf92b0b18
treeeb1fc0570f8ce53f909633bbdc33a9a899f64a72
parent58c4c6a0bf29525a029d64a6446ac5d9e0c45a4a
Duplicate DW_AT_call_file leak

When given two or more DW_AT_call_file for a given function we
currently leak the concat memory.

* dwarf2.c (scan_unit_for_symbols): Don't leak on duplicate
DW_AT_call_file.
bfd/dwarf2.c