From 0168d1f449f69e2e23f3450efa7283ed0d3b79a2 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 28 Aug 2017 15:02:49 +1000 Subject: radeonsi: stop leaking nir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state_shaders.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/radeonsi') diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index 35bc0db74e8..71d798749c1 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -2484,6 +2484,7 @@ void si_destroy_shader_selector(struct si_context *sctx, util_queue_fence_destroy(&sel->ready); mtx_destroy(&sel->mutex); free(sel->tokens); + ralloc_free(sel->nir); free(sel); } -- cgit v1.2.3