diff options
author | Michel Dänzer <[email protected]> | 2012-08-15 18:22:46 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2012-08-16 11:58:24 +0200 |
commit | 4b64fa2ff18ecf5b991f3f5e11daf1e3d8314664 (patch) | |
tree | 36fc59a0cb98adc953137e23561a534f2df57c4e | |
parent | 18abc270c56d5debc02a196634583a25074b3fef (diff) |
radeonsi: Fix LLVM context leak.
Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index 4f762245b2b..0f2aaef8175 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_shader.c +++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c @@ -681,6 +681,7 @@ int si_pipe_shader_create( shader->num_vgprs = util_le32_to_cpu(*(uint32_t*)(inst_bytes + 4)); shader->spi_ps_input_ena = util_le32_to_cpu(*(uint32_t*)(inst_bytes + 8)); + radeon_llvm_dispose(&si_shader_ctx.radeon_bld); tgsi_parse_free(&si_shader_ctx.parse); /* copy new shader */ |