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:
Fabian Maurer 2024-11-19 05:03:13 +00:00
commit 192224e5b5

View file

@ -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;