diff options
author | Timothy Arceri <[email protected]> | 2017-08-28 15:02:49 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-08-29 09:46:29 +1000 |
commit | 0168d1f449f69e2e23f3450efa7283ed0d3b79a2 (patch) | |
tree | 7b1db3fa9d8e974804152c74bace229f03845249 | |
parent | 29f46488cc41d11f44e5e7a59bcedae761707d76 (diff) |
radeonsi: stop leaking nir
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 1 |
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); } |