projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df482fe
)
radeon/llvm: Free libelf resources
author
Aaron Watry
<awatry@gmail.com>
Wed, 6 Nov 2013 22:49:20 +0000
(16:49 -0600)
committer
Tom Stellard
<thomas.stellard@amd.com>
Fri, 15 Nov 2013 17:16:49 +0000
(09:16 -0800)
v2: Fix indentation
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
CC: "10.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeon/radeon_llvm_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_llvm_emit.c
b/src/gallium/drivers/radeon/radeon_llvm_emit.c
index 8bf278bb99d3912b65b3b0e3a08269481f9ddc7c..d2e5642f0c4cc65dc64ca6018a8ad8299f386296 100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_llvm_emit.c
+++ b/
src/gallium/drivers/radeon/radeon_llvm_emit.c
@@
-173,6
+173,9
@@
unsigned radeon_llvm_compile(LLVMModuleRef M, struct radeon_llvm_binary *binary,
}
}
+ if (elf){
+ elf_end(elf);
+ }
LLVMDisposeMemoryBuffer(out_buffer);
LLVMDisposeTargetMachine(tm);
return 0;