mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-22 18:32:05 +00:00
libstratosphere: Cleanup resources when doing OutSession for domains.
This commit is contained in:
parent
ad636f7216
commit
284677c486
1 changed files with 1 additions and 0 deletions
|
@ -400,6 +400,7 @@ void EncodeValueIntoIpcMessageBeforePrepare(DomainOwner *domain_owner, IpcComman
|
|||
domain_owner->reserve_object(value.session->get_service_object(), &value.domain_id);
|
||||
}
|
||||
value.session->close_handles();
|
||||
delete value.session;
|
||||
} else {
|
||||
ipcSendHandleMove(c, value.session ? value.session->get_client_handle() : 0x0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue