Skip to content

Commit fd71b11

Browse files
bdashplafosse
authored andcommitted
[ELF] Fix a memory leak when parsing .gnu_debugdata
1 parent d45c96b commit fd71b11

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
@@ -2723,6 +2723,8 @@ void ElfView::ParseMiniDebugInfo()
27232723
symbol->GetBinding()
27242724
);
27252725
}
2726+
2727+
debugBv->GetFile()->Close();
27262728
}
27272729

27282730

0 commit comments

Comments
 (0)