projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c50e27e
)
[RTL/DPH]
author
Aleksey Bragin
<aleksey@reactos.org>
Fri, 25 Feb 2011 14:13:10 +0000
(14:13 +0000)
committer
Aleksey Bragin
<aleksey@reactos.org>
Fri, 25 Feb 2011 14:13:10 +0000
(14:13 +0000)
- Fix wrong pointer comparison in RtlpDebugPageHeapFree(). Should check for NULL pointer freeing, instead of checking for NULL heap pointer.
svn path=/trunk/; revision=50898
reactos/lib/rtl/heappage.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/heappage.c
b/reactos/lib/rtl/heappage.c
index
19b536e
..
a4a6307
100644
(file)
--- a/
reactos/lib/rtl/heappage.c
+++ b/
reactos/lib/rtl/heappage.c
@@
-1813,7
+1813,7
@@
RtlpPageHeapFree(HANDLE HeapPtr,
PDPH_BLOCK_INFORMATION Info;
/* Check for a NULL pointer freeing */
- if (!
Heap
Ptr)
+ if (!Ptr)
{
if (RtlpDphBreakOptions & DPH_BREAK_ON_NULL_FREE)
{