summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2020-02-27 12:27:58 +0300
committerDmitry Stogov <dmitry@zend.com>2020-02-27 12:27:58 +0300
commitd9f56903ad2f031a3606a3ca51920d8e43ba3b00 (patch)
tree2c0901d15944a04718820e26a554987226ec6994
parent78e04759adf1b2f832d875afffc37fa59e363dfa (diff)
parent45b4368d5c2354781a7b2f1cad86402658868e1d (diff)
downloadphp-git-d9f56903ad2f031a3606a3ca51920d8e43ba3b00.tar.gz
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fixed incorrect behavior of internal memory debugger
-rw-r--r--Zend/zend_alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 21ccf85049..5458e7acf6 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -2065,6 +2065,7 @@ static zend_long zend_mm_find_leaks(zend_mm_heap *heap, zend_mm_chunk *p, uint32
}
}
p = p->next;
+ i = ZEND_MM_FIRST_PAGE;
} while (p != heap->main_chunk);
return count;
}