mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Heap32ListFirst() should check the number of heaps in the list, not the numer of modules
svn path=/trunk/; revision=13315
This commit is contained in:
parent
87e84448db
commit
a3d5e1cf55
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ Heap32ListFirst(HANDLE hSnapshot, LPHEAPLIST32 lphl)
|
|||
{
|
||||
BOOL Ret;
|
||||
|
||||
if(Snapshot->ModuleListCount > 0)
|
||||
if(Snapshot->HeapListCount > 0)
|
||||
{
|
||||
LPHEAPLIST32 Entries = (LPHEAPLIST32)OffsetToPtr(Snapshot, Snapshot->HeapListOffset);
|
||||
Snapshot->HeapListIndex = 1;
|
||||
|
|
Loading…
Reference in a new issue