mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
radeonsi: Fix leak of screen->perfcounters.
A refactor dropped one of the frees.
Fixes: 380ac28891 ("ac: import performance counters from RadeonSI")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13322>
This commit is contained in:
parent
33484a327e
commit
4721352f97
1 changed files with 1 additions and 0 deletions
|
|
@ -643,6 +643,7 @@ void si_destroy_perfcounters(struct si_screen *screen)
|
|||
return;
|
||||
|
||||
ac_destroy_perfcounters(&pc->base);
|
||||
FREE(pc);
|
||||
screen->perfcounters = NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue