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

This commit is contained in:
Alexandre Julliard 2009-06-30 14:06:55 +02:00
parent c0039ecd85
commit c03991be68
1 changed files with 1 additions and 1 deletions

View File

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