mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
v3d: Fix leak of the renderonly struct on screen destruction.
This makes v3d match vc4's destroy path.
Fixes: e113b21cb7 ("v3d: Add renderonly support.")
This commit is contained in:
parent
0c874c18cd
commit
486b181fd7
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ v3d_screen_destroy(struct pipe_screen *pscreen)
|
|||
util_hash_table_destroy(screen->bo_handles);
|
||||
v3d_bufmgr_destroy(pscreen);
|
||||
slab_destroy_parent(&screen->transfer_pool);
|
||||
free(screen->ro);
|
||||
|
||||
if (using_v3d_simulator)
|
||||
v3d_simulator_destroy(screen);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue