diff options
author | Aaron Watry <[email protected]> | 2013-11-08 13:59:59 -0600 |
---|---|---|
committer | Aaron Watry <[email protected]> | 2013-12-23 07:24:50 -0600 |
commit | 767b0f82c37f0370c05335120e50f0a534549109 (patch) | |
tree | fdcf942965addbf34288865aa57476d791b04d33 /src/gallium | |
parent | 0bd858d7ff4a16228164e3157aca846edeb6c228 (diff) |
radeon/llvm: Free target data at end of optimization
Reviewed-by: Tom Stellard <[email protected]>
CC: "10.0" <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_llvm_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_llvm_util.c b/src/gallium/drivers/radeon/radeon_llvm_util.c index cf6d21ed71f..2ace91ff4dc 100644 --- a/src/gallium/drivers/radeon/radeon_llvm_util.c +++ b/src/gallium/drivers/radeon/radeon_llvm_util.c @@ -84,6 +84,7 @@ static void radeon_llvm_optimize(LLVMModuleRef mod) LLVMRunPassManager(pass_manager, mod); LLVMPassManagerBuilderDispose(builder); LLVMDisposePassManager(pass_manager); + LLVMDisposeTargetData(TD); } LLVMModuleRef radeon_llvm_get_kernel_module(LLVMContextRef ctx, unsigned index, |