summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2025-10-17 14:01:09 -0400
committerJosh Ferrell <josh@vector35.com>2025-10-17 14:01:09 -0400
commit93438ca338adccada9fbb973f09ffd44275ca334 (patch)
treedd64e32c36149e752911c0de48ae82a872c6fef3 /plugins
parent50b1456506083140ded7e7c00bf5025547e99e70 (diff)
Fix leaking a BinaryView when loading a sibling DWARF file
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dwarf/dwarf_import/src/helpers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dwarf/dwarf_import/src/helpers.rs b/plugins/dwarf/dwarf_import/src/helpers.rs
index 35580ad3..1e847c48 100644
--- a/plugins/dwarf/dwarf_import/src/helpers.rs
+++ b/plugins/dwarf/dwarf_import/src/helpers.rs
@@ -657,6 +657,6 @@ pub(crate) fn load_sibling_debug_file(view: &BinaryView) -> (Option<Ref<BinaryVi
(
binaryninja::load_with_options(debug_file, false, Some(load_settings)),
- false,
+ true,
)
}