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 bbc6fb54f9..ef586e12a7 100644
--- a/ext/opcache/Optimizer/zend_call_graph.c
+++ b/ext/opcache/Optimizer/zend_call_graph.c
@@ -260,6 +260,8 @@ static void zend_analyze_recursion(zend_call_graph *call_graph)
call_info = call_info->next_caller;
}
}
+
+ free_alloca(visited, use_heap);
}
static void zend_sort_op_arrays(zend_call_graph *call_graph)