Author: fireball
Date: Fri Feb 25 14:13:10 2011
New Revision: 50898
URL:
http://svn.reactos.org/svn/reactos?rev=50898&view=rev
Log:
[RTL/DPH]
- Fix wrong pointer comparison in RtlpDebugPageHeapFree(). Should check for NULL pointer
freeing, instead of checking for NULL heap pointer.
Modified:
trunk/reactos/lib/rtl/heappage.c
Modified: trunk/reactos/lib/rtl/heappage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/heappage.c?rev=508…
==============================================================================
--- trunk/reactos/lib/rtl/heappage.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/heappage.c [iso-8859-1] Fri Feb 25 14:13:10 2011
@@ -1813,7 +1813,7 @@
PDPH_BLOCK_INFORMATION Info;
/* Check for a NULL pointer freeing */
- if (!HeapPtr)
+ if (!Ptr)
{
if (RtlpDphBreakOptions & DPH_BREAK_ON_NULL_FREE)
{