summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/opcache/Optimizer/zend_call_graph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/opcache/Optimizer/zend_call_graph.c b/ext/opcache/Optimizer/zend_call_graph.c
index 0df28eb02c..297f84b7d6 100644
--- a/ext/opcache/Optimizer/zend_call_graph.c
+++ b/ext/opcache/Optimizer/zend_call_graph.c
@@ -116,6 +116,8 @@ static int zend_analyze_calls(zend_arena **arena, zend_script *script, uint32_t
zend_func_info *callee_func_info = ZEND_FUNC_INFO(&func->op_array);
call_info->next_caller = callee_func_info ? callee_func_info->caller_info : NULL;
}
+ } else {
+ call_info = NULL;
}
call++;
break;