vc4: Fix leak of the bo_handles table.

This commit is contained in:
Eric Anholt 2016-08-02 10:57:01 -07:00
parent 02f8c444e8
commit 9f95690959

View file

@ -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);