1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 13:52:21 +00:00

kern: fix bug in server handle cleanup

This commit is contained in:
Michael Scire 2020-07-29 00:21:35 -07:00 committed by SciresM
parent bb7f320f7f
commit 2db6760461

View file

@ -810,7 +810,7 @@ namespace ams::kern {
CleanupSpecialData(dst_process, dst_msg_ptr, dst_buffer_size);
}
} else {
CleanupServerHandles(src_message_buffer, src_buffer_size, src_message_paddr);
CleanupServerHandles(src_user ? src_message_buffer : 0, src_buffer_size, src_message_paddr);
}
/* Cleanup mappings. */