Commit c03991be authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Large heap blocks don't need to be 64k aligned.

parent c0039ecd
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment