mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 12:52:58 +00:00
[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:
parent
c50e27e4bf
commit
66707243f0
1 changed files with 1 additions and 1 deletions
|
@ -1813,7 +1813,7 @@ RtlpPageHeapFree(HANDLE HeapPtr,
|
||||||
PDPH_BLOCK_INFORMATION Info;
|
PDPH_BLOCK_INFORMATION Info;
|
||||||
|
|
||||||
/* Check for a NULL pointer freeing */
|
/* Check for a NULL pointer freeing */
|
||||||
if (!HeapPtr)
|
if (!Ptr)
|
||||||
{
|
{
|
||||||
if (RtlpDphBreakOptions & DPH_BREAK_ON_NULL_FREE)
|
if (RtlpDphBreakOptions & DPH_BREAK_ON_NULL_FREE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue