[NTOSKRNL/MM]

- clear right bit when freeing pool pages.

svn path=/trunk/; revision=51887
This commit is contained in:
Jérôme Gardou 2011-05-24 17:55:27 +00:00
parent 3b62a1af2a
commit 9e4d22d027

View file

@ -864,7 +864,7 @@ MiFreePoolPages(IN PVOID StartingVa)
// //
// Clear the allocation and free bits // Clear the allocation and free bits
// //
RtlClearBit(MmPagedPoolInfo.EndOfPagedPoolBitmap, i); RtlClearBit(MmPagedPoolInfo.EndOfPagedPoolBitmap, End);
RtlClearBits(MmPagedPoolInfo.PagedPoolAllocationMap, i, NumberOfPages); RtlClearBits(MmPagedPoolInfo.PagedPoolAllocationMap, i, NumberOfPages);
// //