- Copying from destination to destination isn't very smart.

- Fix bug when creating the physical memory descriptor block.


svn path=/trunk/; revision=41650
This commit is contained in:
ReactOS Portable Systems Group 2009-06-27 22:51:23 +00:00
parent e52bb6e5ac
commit 39374c3ad4

View file

@ -260,7 +260,7 @@ MmInitializeMemoryLimits(IN PLOADER_PARAMETER_BLOCK LoaderBlock,
// Copy the old buffer into the new, then free it
//
RtlCopyMemory(NewBuffer->Run,
NewBuffer->Run,
Buffer->Run,
sizeof(PHYSICAL_MEMORY_RUN) * Run);
ExFreePool(Buffer);