mirror of
https://github.com/reactos/wine.git
synced 2025-02-24 23:10:48 +00:00
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;
|
LPVOID address = NULL;
|
||||||
|
|
||||||
if (block_size < size) return NULL; /* overflow */
|
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 ) ))
|
&block_size, MEM_COMMIT, get_protection_type( flags ) ))
|
||||||
{
|
{
|
||||||
WARN("Could not allocate block for %08lx bytes\n", size );
|
WARN("Could not allocate block for %08lx bytes\n", size );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user