ntdll: Large heap blocks don't need to be 64k aligned.
This commit is contained in:
parent
c0039ecd85
commit
c03991be68
|
@ -647,7 +647,7 @@ static void *allocate_large_block( HEAP *heap, DWORD flags, SIZE_T size )
|
|||
LPVOID address = NULL;
|
||||
|
||||
if (block_size < size) return NULL; /* overflow */
|
||||
if (NtAllocateVirtualMemory( NtCurrentProcess(), &address, 0,
|
||||
if (NtAllocateVirtualMemory( NtCurrentProcess(), &address, 5,
|
||||
&block_size, MEM_COMMIT, get_protection_type( flags ) ))
|
||||
{
|
||||
WARN("Could not allocate block for %08lx bytes\n", size );
|
||||
|
|
Loading…
Reference in New Issue