mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
Re: readelf/objdump: Handle DWARF info with mixed types of range section
PR 30791 * dwarf.c (free_debug_information): Free range_versions.
This commit is contained in:
parent
0637da3c73
commit
a422bb9db1
@ -3562,7 +3562,10 @@ free_debug_information (debug_info *ent)
|
||||
free (ent->have_frame_base);
|
||||
}
|
||||
if (ent->max_range_lists)
|
||||
free (ent->range_lists);
|
||||
{
|
||||
free (ent->range_versions);
|
||||
free (ent->range_lists);
|
||||
}
|
||||
}
|
||||
|
||||
/* Process the contents of a .debug_info section.
|
||||
|
Loading…
Reference in New Issue
Block a user