projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b2ba18
)
v3d: Fix leak of the spill BO on context destruction.
author
Eric Anholt
<eric@anholt.net>
Thu, 5 Jul 2018 20:30:03 +0000
(13:30 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 5 Jul 2018 22:50:52 +0000
(15:50 -0700)
src/gallium/drivers/v3d/v3d_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3d_program.c
b/src/gallium/drivers/v3d/v3d_program.c
index b5742b3bb1e9ca395972a8ba052fa7333fbaa7d0..93228b53c5c5b6d3876efca9c804798301e098d7 100644
(file)
--- a/
src/gallium/drivers/v3d/v3d_program.c
+++ b/
src/gallium/drivers/v3d/v3d_program.c
@@
-681,4
+681,6
@@
v3d_program_fini(struct pipe_context *pctx)
ralloc_free(shader);
_mesa_hash_table_remove(v3d->vs_cache, entry);
}
+
+ v3d_bo_unreference(&v3d->prog.spill_bo);
}