[PATCH] sim: fix minor --sysroot mem leak

Tom Tromey tromey@redhat.com
Fri May 27 17:43:00 GMT 2011


>>>>> "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



More information about the Gdb-patches mailing list