mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 09:50:36 +02:00
etnaviv: Don't leak disk_cache
Fixes: 77af1ca690 ("etnaviv: add disk cache")
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25877>
This commit is contained in:
parent
a53a394d30
commit
471942e06b
1 changed files with 1 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ etna_compiler_create(const char *renderer, const struct etna_specs *specs)
|
|||
void
|
||||
etna_compiler_destroy(const struct etna_compiler *compiler)
|
||||
{
|
||||
disk_cache_destroy(compiler->disk_cache);
|
||||
ralloc_free((void *)compiler);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue