Skip to content

Commit abfd08f

Browse files
committed
[ELF] Fix a memory leak when parsing .gnu_debugdata
1 parent 073e04d commit abfd08f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

view/elf/elfview.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2732,6 +2732,8 @@ void ElfView::ParseMiniDebugInfo()
27322732
symbol->GetBinding()
27332733
);
27342734
}
2735+
2736+
debugBv->GetFile()->Close();
27352737
}
27362738

27372739

0 commit comments

Comments
 (0)