mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:33:01 +00:00
[HEAP]
- Fix a typo (assignment) in the ASSERT, spotted by Johannes Anderwald. svn path=/trunk/; revision=50309
This commit is contained in:
parent
ca4ebe1b55
commit
a3647b9727
1 changed files with 2 additions and 1 deletions
|
@ -238,7 +238,7 @@ RtlpInsertFreeBlockHelper(PHEAP Heap,
|
||||||
/* Check if PreviousSize of the next entry matches ours */
|
/* Check if PreviousSize of the next entry matches ours */
|
||||||
if (!(FreeEntry->Flags & HEAP_ENTRY_LAST_ENTRY))
|
if (!(FreeEntry->Flags & HEAP_ENTRY_LAST_ENTRY))
|
||||||
{
|
{
|
||||||
ASSERT(((PHEAP_ENTRY)FreeEntry + BlockSize)->PreviousSize = BlockSize);
|
ASSERT(((PHEAP_ENTRY)FreeEntry + BlockSize)->PreviousSize == BlockSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Insert it either into dedicated or non-dedicated list */
|
/* Insert it either into dedicated or non-dedicated list */
|
||||||
|
@ -2344,6 +2344,7 @@ BOOLEAN NTAPI RtlFreeHeap(
|
||||||
|
|
||||||
/* Release the heap lock */
|
/* Release the heap lock */
|
||||||
if (Locked) RtlLeaveHeapLock(Heap->LockVariable);
|
if (Locked) RtlLeaveHeapLock(Heap->LockVariable);
|
||||||
|
DbgBreakPoint();
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue