CID 1653. symbolTable could be leaked in certain error cases.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38116 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
372b00b0f7
commit
5574811008
@ -1167,7 +1167,7 @@ load_elf_symbol_table(int fd, struct elf_image_info *image)
|
||||
if (length < size) {
|
||||
TRACE(("error reading in symbol table\n"));
|
||||
status = B_ERROR;
|
||||
goto error1;
|
||||
goto error2;
|
||||
}
|
||||
|
||||
numSymbols = size / sizeof(struct Elf32_Sym);
|
||||
|
Loading…
x
Reference in New Issue
Block a user