kern: KMemoryManager::Allocate -> AllocateAndOpen

This commit is contained in:
Michael Scire
2020-12-01 06:01:44 -08:00
parent 8fe7373ad2
commit 1738a308c4
8 changed files with 85 additions and 44 deletions

View File

@@ -573,7 +573,7 @@ namespace ams::kern::arch::arm64 {
/* Ensure that any pages we track close on exit. */
KPageGroup pages_to_close(this->GetBlockInfoManager());
KScopedPageGroup spg(pages_to_close);
ON_SCOPE_EXIT { pages_to_close.Close(); };
/* Begin traversal. */
TraversalContext context;