diff --git a/sapi/phpdbg/phpdbg_btree.c b/sapi/phpdbg/phpdbg_btree.c index 788e9b464c14..4950809a4138 100644 --- a/sapi/phpdbg/phpdbg_btree.c +++ b/sapi/phpdbg/phpdbg_btree.c @@ -234,6 +234,7 @@ void phpdbg_btree_clean_recursive(phpdbg_btree_branch *branch, zend_ulong depth, if (branch->branches[use_branch]) { phpdbg_btree_clean_recursive(branch->branches[use_branch], depth, persistent); } + branch++; } pefree(start, persistent);