- Increment the number of free pages in MmFreeMemory.

svn path=/trunk/; revision=9731
This commit is contained in:
Filip Navara 2004-06-19 22:42:41 +00:00
parent a3de47e17a
commit 566b3a9f38

View file

@ -242,6 +242,8 @@ VOID MmFreeMemory(PVOID MemoryPointer)
RealPageLookupTable[Idx].PageAllocationLength = 0; RealPageLookupTable[Idx].PageAllocationLength = 0;
} }
FreePagesInLookupTable += PageCount;
#ifdef DEBUG #ifdef DEBUG
DecrementAllocationCount(); DecrementAllocationCount();
DbgPrint((DPRINT_MEMORY, "Freed %d pages of memory starting at page %d. AllocationCount: %d\n", PageCount, PageNumber, AllocationCount)); DbgPrint((DPRINT_MEMORY, "Freed %d pages of memory starting at page %d. AllocationCount: %d\n", PageCount, PageNumber, AllocationCount));