Author: fireball
Date: Fri Jan 7 15:33:46 2011
New Revision: 50309
URL:
http://svn.reactos.org/svn/reactos?rev=50309&view=rev
Log:
[HEAP]
- Fix a typo (assignment) in the ASSERT, spotted by Johannes Anderwald.
Modified:
trunk/reactos/lib/rtl/heap.c
Modified: trunk/reactos/lib/rtl/heap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/heap.c?rev=50309&a…
==============================================================================
--- trunk/reactos/lib/rtl/heap.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/heap.c [iso-8859-1] Fri Jan 7 15:33:46 2011
@@ -238,7 +238,7 @@
/* 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 @@
/* Release the heap lock */
if (Locked) RtlLeaveHeapLock(Heap->LockVariable);
+ DbgBreakPoint();
return FALSE;
}