projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3115a
)
vc4: Fix a leak of the simulator's exec BO's actual vc4_bo.
author
Eric Anholt
<eric@anholt.net>
Sun, 14 Dec 2014 00:37:28 +0000
(16:37 -0800)
committer
Eric Anholt
<eric@anholt.net>
Mon, 15 Dec 2014 07:10:35 +0000
(23:10 -0800)
src/gallium/drivers/vc4/vc4_simulator.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_simulator.c
b/src/gallium/drivers/vc4/vc4_simulator.c
index 1040ae8f5c43de577afa16ea05a9a13cbbd2c606..bb4a669e8f57261ccb06cc5436d2d896b47b4464 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_simulator.c
+++ b/
src/gallium/drivers/vc4/vc4_simulator.c
@@
-173,6
+173,7
@@
vc4_simulator_flush(struct vc4_context *vc4, struct drm_vc4_submit_cl *args)
if (ret)
return ret;
+ vc4_bo_unreference(&exec.exec_bo->bo);
free(exec.exec_bo);
if (ctex && ctex->bo->simulator_winsys_map) {