mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Fixed the calculation of the TopAddress in MmFindGapTopDown.
svn path=/trunk/; revision=4733
This commit is contained in:
parent
562eeb5ceb
commit
aa2f971da2
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ PVOID MmFindGapTopDown(PMADDRESS_SPACE AddressSpace, ULONG Length)
|
|||
DPRINT("Found gap at %p\n", TopAddress - Length);
|
||||
return(TopAddress - Length + 1);
|
||||
}
|
||||
TopAddress = current->BaseAddress;
|
||||
TopAddress = current->BaseAddress - 1;
|
||||
}
|
||||
current_entry = current_entry->Blink;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue