diff options
author | Alan Modra <amodra@gmail.com> | 2020-03-12 16:48:07 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-03-12 17:00:40 +1030 |
commit | 8fb879cd16a3e3d1fe93e333c4c720fd33bcc416 (patch) | |
tree | 03efd94bbbe09bef20ca21099f1697ae4bb89274 /libctf/configure.ac | |
parent | dd69bf7a78a489783c397f2552eeb7999defcb6a (diff) | |
download | gdb-8fb879cd16a3e3d1fe93e333c4c720fd33bcc416.zip gdb-8fb879cd16a3e3d1fe93e333c4c720fd33bcc416.tar.gz gdb-8fb879cd16a3e3d1fe93e333c4c720fd33bcc416.tar.bz2 |
asan: readelf leaks
* readelf.c (process_section_headers): Don't just set
filedata->section_headers NULL, free it first. Similarly for
dynamic_symbols, dynamic_strings, dynamic_syminfo and
symtab_shndx_list. Zero associated counts too.
(process_object): Free symtab_shndx_list.
(process_file): Free various allocated filedata tables.
Diffstat (limited to 'libctf/configure.ac')
0 files changed, 0 insertions, 0 deletions