From 566b3a9f387d1ed34318ae9a6847b527775efadc Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 19 Jun 2004 22:42:41 +0000 Subject: [PATCH] - Increment the number of free pages in MmFreeMemory. svn path=/trunk/; revision=9731 --- freeldr/freeldr/mm/mm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freeldr/freeldr/mm/mm.c b/freeldr/freeldr/mm/mm.c index c368a7fee88..a087b6e425e 100644 --- a/freeldr/freeldr/mm/mm.c +++ b/freeldr/freeldr/mm/mm.c @@ -242,6 +242,8 @@ VOID MmFreeMemory(PVOID MemoryPointer) RealPageLookupTable[Idx].PageAllocationLength = 0; } + FreePagesInLookupTable += PageCount; + #ifdef DEBUG DecrementAllocationCount(); DbgPrint((DPRINT_MEMORY, "Freed %d pages of memory starting at page %d. AllocationCount: %d\n", PageCount, PageNumber, AllocationCount));