mirror of
https://github.com/reactos/reactos.git
synced 2025-06-24 15:21:08 +00:00
[NTOS:MM]
- Mark the page as being on the standby list before dereferencing it in MmFreePagesFromMdl. Since the PFN is marked as deleted, MiDecrementReferenceCount will correctly insert it into the free list, but this is required to satisfy MiDecrementReferenceCount's sanity check. CORE-9877 #resolve svn path=/trunk/; revision=68273
This commit is contained in:
parent
656342ff11
commit
09da0e3011
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ MmFreePagesFromMdl(IN PMDL Mdl)
|
|||
//
|
||||
Pfn1->u3.e1.StartOfAllocation = 0;
|
||||
Pfn1->u3.e1.EndOfAllocation = 0;
|
||||
Pfn1->u3.e1.PageLocation = StandbyPageList;
|
||||
Pfn1->u2.ShareCount = 0;
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue