mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:33:10 +00:00
debug
This commit is contained in:
parent
3cae2d21ff
commit
2b8dee6e68
3 changed files with 13 additions and 2 deletions
|
@ -1437,6 +1437,8 @@ RtlCreateHeap(ULONG Flags,
|
|||
NTSTATUS Status;
|
||||
ULONG MaxBlockSize;
|
||||
|
||||
RtlpPageHeapEnabled = TRUE;
|
||||
|
||||
/* Check for a special heap */
|
||||
if (RtlpPageHeapEnabled && !Addr && !Lock)
|
||||
{
|
||||
|
@ -1457,6 +1459,9 @@ RtlCreateHeap(ULONG Flags,
|
|||
Flags &= HEAP_CREATE_VALID_MASK;
|
||||
}
|
||||
|
||||
if (!Addr)
|
||||
Flags |= HEAP_FLAG_PAGE_ALLOCS;
|
||||
|
||||
/* Capture parameters */
|
||||
if (Parameters)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue