diff --git a/.pick_status.json b/.pick_status.json index 0c2032d79d9..f551e69a27e 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2596,7 +2596,7 @@ "description": "intel/perf: allocate cleared counter infos", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "3144bc1d33692ed35c6431bca57d3b0d46330cde" }, diff --git a/src/intel/perf/intel_perf.c b/src/intel/perf/intel_perf.c index eca169efed8..5841456a0f3 100644 --- a/src/intel/perf/intel_perf.c +++ b/src/intel/perf/intel_perf.c @@ -649,7 +649,7 @@ build_unique_counter_list(struct intel_perf_config *perf) * below contains pointers to this array. */ struct intel_perf_query_counter_info *counter_infos = - ralloc_array_size(perf, sizeof(counter_infos[0]), max_counters); + rzalloc_array_size(perf, sizeof(counter_infos[0]), max_counters); perf->n_counters = 0;