fix use-after-free bug in loader

This commit is contained in:
Alexander Boettcher 2013-05-06 12:06:59 +02:00 committed by Norman Feske
parent 3a884bd873
commit d1f40b86d9
1 changed files with 1 additions and 1 deletions

View File

@ -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,