summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf_end.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdw/dwarf_end.c')
-rw-r--r--libdw/dwarf_end.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdw/dwarf_end.c b/libdw/dwarf_end.c
index cd9d0457..60a3e4fd 100644
--- a/libdw/dwarf_end.c
+++ b/libdw/dwarf_end.c
@@ -61,13 +61,13 @@ static void
cu_free (void *arg)
{
struct Dwarf_CU *p = (struct Dwarf_CU *) arg;
+ eu_search_tree_fini (&p->locs_tree, noop_free);
/* Only free the CU internals if its not a fake CU. */
if (p != p->dbg->fake_loc_cu && p != p->dbg->fake_loclists_cu
&& p != p->dbg->fake_addr_cu)
{
Dwarf_Abbrev_Hash_free (&p->abbrev_hash);
- eu_search_tree_fini (&p->locs_tree, noop_free);
/* Free split dwarf one way (from skeleton to split). */
if (p->unit_type == DW_UT_skeleton