[RTL/DPH]

- Fix wrong pointer comparison in RtlpDebugPageHeapFree(). Should check for NULL pointer freeing, instead of checking for NULL heap pointer.

svn path=/trunk/; revision=50898
This commit is contained in:
Aleksey Bragin 2011-02-25 14:13:10 +00:00
parent c50e27e4bf
commit 66707243f0

View file

@ -1813,7 +1813,7 @@ RtlpPageHeapFree(HANDLE HeapPtr,
PDPH_BLOCK_INFORMATION Info;
/* Check for a NULL pointer freeing */
if (!HeapPtr)
if (!Ptr)
{
if (RtlpDphBreakOptions & DPH_BREAK_ON_NULL_FREE)
{