sync to trunk (44770)
[reactos.git] / reactos / ntoskrnl / mm / freelist.c
index 1deed64..894fb23 100644 (file)
@@ -616,7 +616,7 @@ MiAllocatePagesForMdl(IN PHYSICAL_ADDRESS LowAddress,
         //
         // Check if we've reached the end
         //
-        Page = *MdlPage;
+        Page = *MdlPage++;
         if (Page == (PFN_NUMBER)-1) break;
         
         //