diff --git a/src/symbols/dwarf/dwarf_resolver.cpp b/src/symbols/dwarf/dwarf_resolver.cpp index 7627cd6..1c47a17 100644 --- a/src/symbols/dwarf/dwarf_resolver.cpp +++ b/src/symbols/dwarf/dwarf_resolver.cpp @@ -208,6 +208,8 @@ namespace libdwarf { } // subprograms_cache needs to be destroyed before dbg otherwise there will be another use after free subprograms_cache.clear(); + split_full_cu_resolvers.clear(); + skeleton.reset(); if(aranges) { dwarf_dealloc(dbg, aranges, DW_DLA_LIST); }