mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
fix use-after-free bug in loader
This commit is contained in:
parent
3a884bd873
commit
d1f40b86d9
@ -50,8 +50,8 @@ namespace Loader {
|
||||
void _close(Rom_session_component *rom)
|
||||
{
|
||||
_ep.dissolve(rom);
|
||||
destroy(&_md_alloc, rom);
|
||||
_rom_sessions.remove(rom);
|
||||
destroy(&_md_alloc, rom);
|
||||
}
|
||||
|
||||
Local_rom_service(Rpc_entrypoint &ep,
|
||||
|
Loading…
Reference in New Issue
Block a user