mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
Merge branch 'm1_handle_size' into 'master'
ntdll: Don't hardcode pagesize when allocating handles See merge request wine/wine!4740
This commit is contained in:
commit
192224e5b5
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ static NTSTATUS RtlpAllocateSomeHandles(RTL_HANDLE_TABLE * HandleTable)
|
|||
}
|
||||
if (!HandleTable->NextFree)
|
||||
{
|
||||
SIZE_T Offset, CommitSize = 4096; /* one page */
|
||||
SIZE_T Offset, CommitSize = page_size;
|
||||
RTL_HANDLE * FreeHandle = NULL;
|
||||
PVOID NextAvailAddr = HandleTable->ReservedMemory;
|
||||
|
||||
|
|
Loading…
Reference in a new issue