mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-04 17:53:07 +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)
|
void _close(Rom_session_component *rom)
|
||||||
{
|
{
|
||||||
_ep.dissolve(rom);
|
_ep.dissolve(rom);
|
||||||
destroy(&_md_alloc, rom);
|
|
||||||
_rom_sessions.remove(rom);
|
_rom_sessions.remove(rom);
|
||||||
|
destroy(&_md_alloc, rom);
|
||||||
}
|
}
|
||||||
|
|
||||||
Local_rom_service(Rpc_entrypoint &ep,
|
Local_rom_service(Rpc_entrypoint &ep,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user