mirror of
https://github.com/reactos/reactos.git
synced 2024-12-01 07:23:33 +08:00
[NTOS/MM] Assert there are no RMAP left before freeing the page
This commit is contained in:
parent
d932bdb950
commit
ba49c39041
@ -225,9 +225,8 @@ MmPageOutPhysicalAddress(PFN_NUMBER Page)
|
||||
|
||||
/* We can finally let this page go */
|
||||
MmDeleteRmap(Page, Process, Address);
|
||||
MmReleasePageMemoryConsumer(MC_USER, Page);
|
||||
|
||||
ASSERT(MmGetRmapListHeadPage(Page) == NULL);
|
||||
MmReleasePageMemoryConsumer(MC_USER, Page);
|
||||
|
||||
if (Address < MmSystemRangeStart)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user