This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Fix memory leak in break command
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 04 Jan 2005 06:42:56 +0200
- Subject: Re: Fix memory leak in break command
- References: <jept0mbp1k.fsf@sykes.suse.de>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Andreas Schwab <schwab@suse.de>
> Date: Mon, 03 Jan 2005 14:49:43 +0100
>
> Found this by code inspection.
>
> Andreas.
>
> 2005-01-03 Andreas Schwab <schwab@suse.de>
>
> * breakpoint.c (break_command_1): Always free err_msg before
> returning when an exception was caught.
Approved. Thanks.