1
0
Fork 0
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:
Michael Scire 2018-06-24 12:38:54 -06:00
parent ad636f7216
commit 284677c486

View file

@ -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);
}