[llvm] Fix a memory leak.