mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FREELDR] FrLdrHeapCreate: Show the memory type in the ERR().
This commit is contained in:
parent
9a707af2e3
commit
50e5f76212
1 changed files with 3 additions and 1 deletions
|
@ -71,6 +71,7 @@ FrLdrHeapCreate(
|
|||
PHEAP_BLOCK Block;
|
||||
SIZE_T Remaining;
|
||||
USHORT PreviousSize;
|
||||
|
||||
TRACE("HeapCreate(MemoryType=%ld)\n", MemoryType);
|
||||
|
||||
/* Allocate some memory for the heap */
|
||||
|
@ -78,7 +79,7 @@ FrLdrHeapCreate(
|
|||
Heap = MmAllocateMemoryWithType(MaximumSize, MemoryType);
|
||||
if (!Heap)
|
||||
{
|
||||
ERR("HEAP: Failed to allocate heap of size 0x%lx, Type\n",
|
||||
ERR("HEAP: Failed to allocate heap of size 0x%lx, Type %lu\n",
|
||||
MaximumSize, MemoryType);
|
||||
return NULL;
|
||||
}
|
||||
|
@ -445,6 +446,7 @@ FrLdrHeapFreeEx(
|
|||
#if DBG && !defined(_M_ARM)
|
||||
ULONGLONG Time = __rdtsc();
|
||||
#endif
|
||||
|
||||
TRACE("HeapFree(%p, %p)\n", HeapHandle, Pointer);
|
||||
ASSERT(Tag != 'dnE#');
|
||||
|
||||
|
|
Loading…
Reference in a new issue