mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-22 09:40:40 +02:00
radeon/llvm: Free libelf resources
v2: Fix indentation Reviewed-by: Tom Stellard <thomas.stellard@amd.com> CC: "10.0" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
df482fe02f
commit
a2b93da84b
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue