etnaviv: Release screen->dummy_desc_reloc.bo
We are currently trying to release twice the same dummy BO, while
leaking the other one.
Fixes: bca5ef70a4
("etnaviv: split dummy RT backing store from reloc")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34627>
(cherry picked from commit 63251d43ae433e1cdaceb8ca4d1bc897987d3df0)
This commit is contained in:

committed by
Eric Engestrom

parent
b9ed912660
commit
e38631ad0a
@@ -34,7 +34,7 @@
|
||||
"description": "etnaviv: Release screen->dummy_desc_reloc.bo",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "bca5ef70a436380d1b6cb0f5bd84f1872cabc5e5",
|
||||
"notes": null
|
||||
|
@@ -95,8 +95,8 @@ etna_screen_destroy(struct pipe_screen *pscreen)
|
||||
if (screen->dummy_bo)
|
||||
etna_bo_del(screen->dummy_bo);
|
||||
|
||||
if (screen->dummy_rt_reloc.bo)
|
||||
etna_bo_del(screen->dummy_rt_reloc.bo);
|
||||
if (screen->dummy_desc_reloc.bo)
|
||||
etna_bo_del(screen->dummy_desc_reloc.bo);
|
||||
|
||||
if (screen->perfmon)
|
||||
etna_perfmon_del(screen->perfmon);
|
||||
|
Reference in New Issue
Block a user