This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] stack.c, memory leak (no-effect code?)
>
> msnyder@sonic.net writes:
>> This patch is to fix a memory leak, but while you're looking at it...
>> does it seem to you that these two blocks have any effect?
>>
>> [Sorry if I posted this before, I've been searching for it...]
>
> You did post something very much like this, but I recall that the
> blocks in question in the older post really didn't have any effect.
> These at least set funname.
>
> I'm kind of surprised that they don't set funname to demangled when
> it's non-NULL.
OK, how about the patch itself?