projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02f8c44
)
vc4: Fix leak of the bo_handles table.
author
Eric Anholt
<eric@anholt.net>
Tue, 2 Aug 2016 17:57:01 +0000
(10:57 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 3 Aug 2016 17:25:08 +0000
(10:25 -0700)
src/gallium/drivers/vc4/vc4_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_screen.c
b/src/gallium/drivers/vc4/vc4_screen.c
index aeb6c9a784eedced3f6d0b35f30eb512abe6891a..1c3c605c2dac7588446bb5cc98c1ac76a6f4ad2d 100644
(file)
--- 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);