From cb5f47f585e4bb71c4e4aa0b746f6311287b5500 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 7 Nov 2018 09:56:37 -0800 Subject: [PATCH] iris: Don't leak the compute batch --- src/gallium/drivers/iris/iris_context.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2