base: fix small memory leak in the ELF loader

This commit is contained in:
Brandon Potter 2017-02-23 13:27:38 -05:00
parent 41bc2886de
commit a4c4b4188d

View file

@ -545,6 +545,8 @@ ElfObject::getSections()
sectionNames.insert(elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name));
section = elf_getscn(elf, ++sec_idx);
} // while sections
elf_end(elf);
}
bool