Hi Andre,
Nick, I'm not sure reverting the cleanup is correct. At least in binutils 2.18, the function concat_filename uses bfd_malloc, which again uses malloc.
Hmm, that is a fair point.
Running with a change similar to the one in comment #14 plus freeing caller_file removes the leaks I see when doing call-stack mapping.
OK, can you submit this as a new patch then please ? Cheers Nick _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils