From: Timothy Arceri Date: Mon, 28 Aug 2017 05:02:49 +0000 (+1000) Subject: radeonsi: stop leaking nir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0168d1f449f69e2e23f3450efa7283ed0d3b79a2;p=mesa.git radeonsi: stop leaking nir Reviewed-by: Nicolai Hähnle --- 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); }