aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers22.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2019-03-01 13:50:27 +0000
committerGary Benson <gbenson@redhat.com>2019-03-01 13:50:27 +0000
commit827f438f664809b13ea59e8fabc43070dbd17645 (patch)
treec2cda8b18698a1c01b033c551ad7dd5e6a07ab6a /ld/testsuite/ld-elfvers/vers22.c
parent4ffd290906608e72fd98d627a24aa2c2b6ecf4ce (diff)
downloadgdb-827f438f664809b13ea59e8fabc43070dbd17645.zip
gdb-827f438f664809b13ea59e8fabc43070dbd17645.tar.gz
gdb-827f438f664809b13ea59e8fabc43070dbd17645.tar.bz2
Fix coff_start_symtab resource leak found by Coverity
This commit fixes a resource leak found by Coverity, where coff_start_symtab performs an xstrdup that is now performed within start_symtab by buildsym_compunit::buildsym_compunit. gdb/ChangeLog: * coffread.c (coff_start_symtab): Remove unnecessary xstrdup.
Diffstat (limited to 'ld/testsuite/ld-elfvers/vers22.c')
0 files changed, 0 insertions, 0 deletions