summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_context.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-06-16 09:56:59 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:07 -0800
commitc763ecaa65d9293905bd7d0ea2a379029c3df2a5 (patch)
treef6d08b85626a26273212301e04d165d76a5f9616 /src/gallium/drivers/iris/iris_context.c
parent477ea6c39a7aa575f5db748867046837fb6789ab (diff)
iris: plug leaks
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.c')
-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 09eb288bbbc..4812d7c3af8 100644
--- a/src/gallium/drivers/iris/iris_context.c
+++ b/src/gallium/drivers/iris/iris_context.c
@@ -79,6 +79,7 @@ iris_destroy_context(struct pipe_context *ctx)
if (ctx->stream_uploader)
u_upload_destroy(ctx->stream_uploader);
+ ice->vtbl.destroy_state(ice);
iris_destroy_program_cache(ice);
u_upload_destroy(ice->state.surface_uploader);
u_upload_destroy(ice->state.dynamic_uploader);