diff options
author | Alan Modra <amodra@gmail.com> | 2019-09-02 09:54:55 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-09-02 10:08:17 +0930 |
commit | 22b31fea07587034636251ccb81041e4e8e0bd93 (patch) | |
tree | 5485ca7806b23b07d21790842f821eadae1f8067 /gdb/annotate.h | |
parent | 579e12e52d00929ed3cf9e801fbc97d4594a1ecf (diff) | |
download | gdb-22b31fea07587034636251ccb81041e4e8e0bd93.zip gdb-22b31fea07587034636251ccb81041e4e8e0bd93.tar.gz gdb-22b31fea07587034636251ccb81041e4e8e0bd93.tar.bz2 |
Memory leak in dwarf2.c
This fixes a small leak of debug_filename. bfd_openr copies the file
name since git commit 1be5090bca.
PR 11983
* dwarf2.c (_bfd_dwarf2_slurp_debug_info): Free debug_filename
on success. Tidy.
Diffstat (limited to 'gdb/annotate.h')
0 files changed, 0 insertions, 0 deletions