mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 12:18:13 +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
|
@ -238,7 +238,7 @@ RtlpInsertFreeBlockHelper(PHEAP Heap,
|
|||
/* Check if PreviousSize of the next entry matches ours */
|
||||
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 */
|
||||
|
@ -2344,6 +2344,7 @@ BOOLEAN NTAPI RtlFreeHeap(
|
|||
|
||||
/* Release the heap lock */
|
||||
if (Locked) RtlLeaveHeapLock(Heap->LockVariable);
|
||||
DbgBreakPoint();
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue