aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-xc16x.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2021-03-02 15:10:05 +0000
committerNick Alcock <nick.alcock@oracle.com>2021-03-02 15:10:09 +0000
commit8e7e446446b2de0c44e453a298718a0411f47205 (patch)
treedf2cc2f2436e05cf6eaa192a46fff9c61881751c /bfd/elf32-xc16x.c
parentcf6a0b989a57db81f1470560edf4dbfb1835c032 (diff)
downloadgdb-8e7e446446b2de0c44e453a298718a0411f47205.zip
gdb-8e7e446446b2de0c44e453a298718a0411f47205.tar.gz
gdb-8e7e446446b2de0c44e453a298718a0411f47205.tar.bz2
libctf: free ctf_dynsyms properly
In the "no symbols" case (commonplace for executables), we were freeing the ctf_dynsyms using free(), instead of ctf_dynhash_destroy(), leaking a little memory. (This is harmless in the common case of ld usage, but libctf might be used by persistent processes too.) libctf/ChangeLog 2021-03-02 Nick Alcock <nick.alcock@oracle.com> * ctf-link.c (ctf_link_shuffle_syms): Free ctf_dynsyms properly.
Diffstat (limited to 'bfd/elf32-xc16x.c')
0 files changed, 0 insertions, 0 deletions