2011-03-03 Michael Snyder <msnyder@vmware.com>

* dwarf2.c (scan_unit_for_symbols): Stop memory leak.
This commit is contained in:
Michael Snyder 2011-03-03 23:43:08 +00:00
parent eb00922a32
commit 8ecc1f2027
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2011-03-03 Michael Snyder <msnyder@vmware.com>
* dwarf2.c (scan_unit_for_symbols): Stop memory leak.
* archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.
2011-03-03 H.J. Lu <hongjiu.lu@intel.com>

View File

@ -2148,7 +2148,7 @@ scan_unit_for_symbols (struct comp_unit *unit)
{
info_ptr = read_attribute (&attr, &abbrev->attrs[i], unit, info_ptr);
if (info_ptr == NULL)
return FALSE;
goto fail;
if (func)
{