From 9f956909591fb259ce01f1882c3367978e8ec2fb Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 2 Aug 2016 10:57:01 -0700 Subject: vc4: Fix leak of the bo_handles table. --- src/gallium/drivers/vc4/vc4_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/vc4') diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index aeb6c9a784e..1c3c605c2da 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -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); -- cgit v1.2.3