Skip to content

Commit 45b4368

Browse files
committed
Fixed incorrect behavior of internal memory debugger
1 parent 8654c32 commit 45b4368

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend_alloc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,6 +2103,7 @@ static zend_long zend_mm_find_leaks(zend_mm_heap *heap, zend_mm_chunk *p, uint32
21032103
}
21042104
}
21052105
p = p->next;
2106+
i = ZEND_MM_FIRST_PAGE;
21062107
} while (p != heap->main_chunk);
21072108
return count;
21082109
}

0 commit comments

Comments
 (0)