aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Error.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2020-10-01 15:25:06 -0700
committerLang Hames <lhames@gmail.com>2020-10-19 01:59:03 -0700
commitc88d9eae8a71844b71ca529fd7b35d6025a84f55 (patch)
tree4995f2fada6d813c22246ac5593bf9c4ec1755e5 /llvm/lib/Support/Error.cpp
parent069919c9ba33666786b80e89f30215ef2918ecdc (diff)
downloadllvm-c88d9eae8a71844b71ca529fd7b35d6025a84f55.zip
llvm-c88d9eae8a71844b71ca529fd7b35d6025a84f55.tar.gz
llvm-c88d9eae8a71844b71ca529fd7b35d6025a84f55.tar.bz2
[ORC] Fix a memory leak in the OrcV2 C API (and some comment typos).
The LLVMOrcLLJITAddLLVMIRModule function was leaking its LLVMOrcThreadSafeModuleRef argument. Wrapping the argument in a unique_ptr fixes this.
Diffstat (limited to 'llvm/lib/Support/Error.cpp')
0 files changed, 0 insertions, 0 deletions