If we go to line 302, with one of MCE or MAB is not nullptr, then we could
leak mem here.
Use unique_ptr to maintain these 2 pointer can avoid it.
Details
Details
- Reviewers
LuoYuanke - Commits
- rGb00fc5ac995b: Fix Mem leak in LLVMTargetMachine.cpp
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo