diff options
author | Lang Hames <lhames@gmail.com> | 2020-10-01 15:25:06 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2020-10-19 01:59:03 -0700 |
commit | c88d9eae8a71844b71ca529fd7b35d6025a84f55 (patch) | |
tree | 4995f2fada6d813c22246ac5593bf9c4ec1755e5 /llvm/lib/Support/Error.cpp | |
parent | 069919c9ba33666786b80e89f30215ef2918ecdc (diff) | |
download | llvm-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