mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user