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?)
- From: Jim Blandy <jimb at codesourcery dot com>
- To: msnyder at sonic dot net
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 13 Aug 2007 12:41:06 -0700
- Subject: Re: [PATCH] stack.c, memory leak (no-effect code?)
- References: <5638.12.7.175.2.1186784359.squirrel@webmail.sonic.net>
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.