]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Re: dlltool memory leaks
authorAlan Modra <amodra@gmail.com>
Sat, 22 Nov 2025 06:23:00 +0000 (16:53 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 22 Nov 2025 07:19:45 +0000 (17:49 +1030)
commitb136efd10a7c8b278b5356ab7923f4ed9f064517
tree4366ad572e920c02dc758def13b32490b9a29e42
parente279f9dc5c7cbabe90b848be23081bc934c4a255
Re: dlltool memory leaks

I missed one needed strdup of symbol names, needed since the original
symbol name memory is freed on bfd_close.

PR 33651
* dlltool.c (scan_filtered_symbols): xstrdup symbol name.

(cherry picked from commit d37a8694b28d162c5e0ed0edd5948687bc228edc)
binutils/dlltool.c