From: Kenneth Graunke Date: Fri, 26 Jan 2018 03:43:45 +0000 (-0800) Subject: iris: actually destroy the cache X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=acdff2f9a68a1ce3879ad22b8602a97f58957340;p=mesa.git iris: actually destroy the cache --- diff --git a/src/gallium/drivers/iris/iris_context.c b/src/gallium/drivers/iris/iris_context.c index a0dff005403..4675e2e62c1 100644 --- a/src/gallium/drivers/iris/iris_context.c +++ b/src/gallium/drivers/iris/iris_context.c @@ -79,6 +79,8 @@ iris_destroy_context(struct pipe_context *ctx) if (ctx->stream_uploader) u_upload_destroy(ctx->stream_uploader); + iris_destroy_program_cache(ice); + iris_batch_free(&ice->render_batch); ralloc_free(ice);