summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-08-28 15:02:49 +1000
committerTimothy Arceri <[email protected]>2017-08-29 09:46:29 +1000
commit0168d1f449f69e2e23f3450efa7283ed0d3b79a2 (patch)
tree7b1db3fa9d8e974804152c74bace229f03845249 /src
parent29f46488cc41d11f44e5e7a59bcedae761707d76 (diff)
radeonsi: stop leaking nir
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c1
1 files changed, 1 insertions, 0 deletions
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);
}