[RFA] stabs.c, fix multiple memory leaks.

Nick Clifton nickc@redhat.com
Fri Mar 25 17:47:00 GMT 2011
Hi Michael,

> 2011-03-08  Michael Snyder<msnyder@vmware.com>
>
> 	* stabs.c (parse_stab_enum_type): Fix memory leaks.
> 	(parse_stab_struct_type): Ditto.
> 	(parse_stab_struct_fields): Ditto.
> 	(parse_stab_one_struct_field): Ditto.
> 	(parse_stab_members): Ditto.
> 	(stab_demangle_qualified): Ditto.

Approved and applied - although I switched the code to use gotos in 
parse_stab_members() in order to keep things simple.

Cheers
   Nick



More information about the Binutils mailing list