From: Eric Anholt Date: Tue, 2 Aug 2016 17:57:01 +0000 (-0700) Subject: vc4: Fix leak of the bo_handles table. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f956909591fb259ce01f1882c3367978e8ec2fb;p=mesa.git vc4: Fix leak of the bo_handles table. --- 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);