- Fix a typo (assignment) in the ASSERT, spotted by Johannes Anderwald.

svn path=/trunk/; revision=50309
This commit is contained in:
Aleksey Bragin 2011-01-07 15:33:46 +00:00
parent ca4ebe1b55
commit a3647b9727

View file

@ -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;
} }