[llvm] Fix more memory leaks.