This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: fix minor --sysroot mem leak
- From: Tom Tromey <tromey at redhat dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org, toolchain-devel at blackfin dot uclinux dot org
- Date: Fri, 27 May 2011 11:43:06 -0600
- Subject: Re: [PATCH] sim: fix minor --sysroot mem leak
- References: <1306439522-15151-1-git-send-email-vapier@gentoo.org>
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:
Mike> 2011-05-26 Mike Frysinger <vapier@gentoo.org>
Mike> * sim-options.c (standard_option_handler): Remove arg[0] check
Mike> when freeing simulator_sysroot. Only strdup arg when arg[0] is
Mike> not an empty string, otherwise assign "" back to it.
Ok.
Tom