mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
- 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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user