summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-07-30 15:35:26 -0700
committerMark Rowe <mark@vector35.com>2025-08-05 12:03:15 -0700
commitabfd08fe0d92120019c2db275537eb816dd5c3f7 (patch)
tree404165d3229cee7f9666a6a7b6c62a8a2df47cba
parent073e04dcbbb90fdff8bebfbbd3a68bdd9d285954 (diff)
[ELF] Fix a memory leak when parsing .gnu_debugdata
-rw-r--r--view/elf/elfview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/elf/elfview.cpp b/view/elf/elfview.cpp
index 5eb9cea7..1e7705a3 100644
--- a/view/elf/elfview.cpp
+++ b/view/elf/elfview.cpp
@@ -2732,6 +2732,8 @@ void ElfView::ParseMiniDebugInfo()
symbol->GetBinding()
);
}
+
+ debugBv->GetFile()->Close();
}