mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +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:
parent
e52bb6e5ac
commit
39374c3ad4
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue