diff options
author | Eric Anholt <[email protected]> | 2016-08-02 10:57:01 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-08-03 10:25:08 -0700 |
commit | 9f956909591fb259ce01f1882c3367978e8ec2fb (patch) | |
tree | cbb7fe022b5c294a709d75b42182319f788a7710 /src/gallium/drivers/vc4/vc4_screen.c | |
parent | 02f8c444e853ddb1db4f5354c613a172f6a98ef5 (diff) |
vc4: Fix leak of the bo_handles table.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |