diff options
author | Alan Modra <amodra@gmail.com> | 2025-01-01 22:38:44 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-01-01 22:38:44 +1030 |
commit | b492153908463bd351eaa2cf3802117ce9e7c479 (patch) | |
tree | 5d81d52145cc7b6dce4dd421deef90b5b2d461f7 /gdb/testsuite/gdb.python/py-commands-breakpoint.py | |
parent | 1d2becbb32224902e8a310b478461dd61f9c9193 (diff) | |
download | binutils-b492153908463bd351eaa2cf3802117ce9e7c479.zip binutils-b492153908463bd351eaa2cf3802117ce9e7c479.tar.gz binutils-b492153908463bd351eaa2cf3802117ce9e7c479.tar.bz2 |
gas include_dirs memory leak
This is the first of a series of patches aimed at making it possible
to configure with CFLAGS="-g -O2 -fsanitize=address,undefined" and run
the binutils and gas testsuite on x86_64-linux without using
ASAN_OPTIONS=detect_leaks=0. ie. the patch series is aimed at fixing
common gas, ar, objcopy, objdump, and readelf leaks.
* config/tc-tic54x.c (md_begin): Make use of notes_strdup rather
than xstrdup to copy entries added to include_dirs.
* read.c (read_end): Free include_dirs array.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-commands-breakpoint.py')
0 files changed, 0 insertions, 0 deletions