[PATCH] dwarf2read.c, memory leak

Jim Blandy jimb@codesourcery.com
Mon Aug 6 22:03:00 GMT 2007


msnyder@sonic.net writes:
> 2007-08-04  Michael Snyder  <msnyder@access-company.com>
>
> 	* dwarf2read.c (add_partial_symbol): Memory leak.

This looks fine.

As a matter of taste, is it better to duplicate the 'if
(built_actual_name) xfree (actual_name)' three times or to use 'goto'?



More information about the Gdb-patches mailing list