[NTOS:MM] Fix one occurrence of MiDeletePte instead of MiDeletePde

This commit is contained in:
Jérôme Gardou 2021-06-22 12:04:25 +02:00
parent c2e454b439
commit c8ce0cc434

View file

@ -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);
}