https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c8ce0cc4340224bf93f4f…
commit c8ce0cc4340224bf93f4f34050deaf504d598bc3
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Tue Jun 22 12:04:25 2021 +0200
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Tue Jun 22 12:05:20 2021 +0200
[NTOS:MM] Fix one occurrence of MiDeletePte instead of MiDeletePde
---
ntoskrnl/mm/i386/page.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/mm/i386/page.c b/ntoskrnl/mm/i386/page.c
index 7210d769df8..cf2e012389b 100644
--- a/ntoskrnl/mm/i386/page.c
+++ b/ntoskrnl/mm/i386/page.c
@@ -365,7 +365,7 @@ MmDeletePageFileMapping(
{
/* We can let it go */
KIRQL OldIrql = MiAcquirePfnLock();
- MiDeletePte(MiAddressToPte(PointerPte), PointerPte, Process, NULL);
+ MiDeletePde(MiPteToPde(PointerPte), Process);
MiReleasePfnLock(OldIrql);
}