diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-03-03 23:43:08 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-03-03 23:43:08 +0000 |
commit | 8ecc1f20271e47925e0c8e4eb1452d1cea8aa992 (patch) | |
tree | de763c2b466995e975a390900c3c9d13229703c3 /bfd/dwarf2.c | |
parent | eb00922a32c750dea9c7f85e9225e3fd3fe5a2d7 (diff) | |
download | gdb-8ecc1f20271e47925e0c8e4eb1452d1cea8aa992.zip gdb-8ecc1f20271e47925e0c8e4eb1452d1cea8aa992.tar.gz gdb-8ecc1f20271e47925e0c8e4eb1452d1cea8aa992.tar.bz2 |
2011-03-03 Michael Snyder <msnyder@vmware.com>
* dwarf2.c (scan_unit_for_symbols): Stop memory leak.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index e5d0103..3826856 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -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) { |