aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-11-07 09:56:37 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:09 -0800
commitcb5f47f585e4bb71c4e4aa0b746f6311287b5500 (patch)
treea4066918eb14b59c3d92816493c2ff3a87f5d6cb /src/gallium
parentfbe5d75f114b7510f6b486c76e19c789275b3294 (diff)
iris: Don't leak the compute batch
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/iris_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.c b/src/gallium/drivers/iris/iris_context.c
index 890505421fa..9283bff6311 100644
--- a/src/gallium/drivers/iris/iris_context.c
+++ b/src/gallium/drivers/iris/iris_context.c
@@ -133,6 +133,7 @@ iris_destroy_context(struct pipe_context *ctx)
slab_destroy_child(&ice->transfer_pool);
iris_batch_free(&ice->render_batch);
+ iris_batch_free(&ice->compute_batch);
iris_destroy_binder(&ice->state.binder);
ralloc_free(ice);