mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
vc4: Fix leak of the bo_handles table.
This commit is contained in:
parent
02f8c444e8
commit
9f95690959
1 changed files with 1 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ vc4_screen_destroy(struct pipe_screen *pscreen)
|
|||
{
|
||||
struct vc4_screen *screen = vc4_screen(pscreen);
|
||||
|
||||
util_hash_table_destroy(screen->bo_handles);
|
||||
vc4_bufmgr_destroy(pscreen);
|
||||
close(screen->fd);
|
||||
ralloc_free(pscreen);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue