Re: [RFA] Fix leaks in macro definitions.

Tom Tromey
2019-01-15T22:33:17Z

>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

Tom> I think it would be best by far to fix this in splay_tree_remove.
Tom> I agree it's hard, but working around this seems worse to me.

I looked, and there is one spot in gcc that passes a key deletion
function, and one spot in binutils-gdb (the spot in question).

The module in gcc (gcc/lto/lto.c) does not call splay_tree_remove.

So, I think landing the fix upstream in gcc should be totally fine.

Tom