diff options
-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 cf6d21e..2ace91f 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, |