[ros-diffs] [weiden] 13315: Heap32ListFirst() should check the
number of heaps in the list, not the numer of modules
weiden at svn.reactos.com
weiden at svn.reactos.com
Wed Jan 26 18:53:02 CET 2005
Heap32ListFirst() should check the number of heaps in the list, not the
numer of modules
Modified: trunk/reactos/lib/kernel32/misc/toolhelp.c
_____
Modified: trunk/reactos/lib/kernel32/misc/toolhelp.c
--- trunk/reactos/lib/kernel32/misc/toolhelp.c 2005-01-26 14:38:27 UTC
(rev 13314)
+++ trunk/reactos/lib/kernel32/misc/toolhelp.c 2005-01-26 17:53:01 UTC
(rev 13315)
@@ -550,7 +550,7 @@
{
BOOL Ret;
- if(Snapshot->ModuleListCount > 0)
+ if(Snapshot->HeapListCount > 0)
{
LPHEAPLIST32 Entries = (LPHEAPLIST32)OffsetToPtr(Snapshot,
Snapshot->HeapListOffset);
Snapshot->HeapListIndex = 1;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050126/280908e8/attachment.html
More information about the Ros-diffs
mailing list