From: Kenneth Graunke Date: Wed, 7 Nov 2018 17:56:37 +0000 (-0800) Subject: iris: Don't leak the compute batch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb5f47f585e4bb71c4e4aa0b746f6311287b5500;p=mesa.git iris: Don't leak the compute batch --- 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);