Added TODO regarding memory leak. Too tired ATM to solve it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26335 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b64e66fbd0
commit
d1d7044ed1
@ -752,6 +752,11 @@ unload_elf_image(struct elf_image_info *image)
|
||||
|
||||
unregister_elf_image(image);
|
||||
|
||||
// TODO: We're leaking memory here. We can't just free those, since in case of
|
||||
// pre-loaded images they have been allocated by the bootloader via
|
||||
// kernel_args_malloc().
|
||||
// free(image->debug_symbols);
|
||||
// free((void*)image->debug_string_table);
|
||||
free(image->elf_header);
|
||||
free(image->name);
|
||||
free(image);
|
||||
|
Loading…
Reference in New Issue
Block a user