diff options
author | Gary Benson <gbenson@redhat.com> | 2019-03-01 13:50:27 +0000 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2019-03-01 13:50:27 +0000 |
commit | 827f438f664809b13ea59e8fabc43070dbd17645 (patch) | |
tree | c2cda8b18698a1c01b033c551ad7dd5e6a07ab6a /ld/testsuite/ld-elfweak/dsowdata.dsym | |
parent | 4ffd290906608e72fd98d627a24aa2c2b6ecf4ce (diff) | |
download | gdb-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-elfweak/dsowdata.dsym')
0 files changed, 0 insertions, 0 deletions