mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-21 02:52:44 +02:00
libstratosphere: Cleanup resources when doing OutSession for domains.
This commit is contained in:
parent
1b356cd4f2
commit
ba805d2c8a
@ -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 New Issue
Block a user