llvm.org GIT mirror llvm / d1074b0
Fixing memory leak git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237072 91177308-0d34-0410-b5e6-96231b3b80d8 Andrew Kaylor 5 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
881881 Function *Handler = cast(CA->getHandlerBlockOrFunc());
882882 getPossibleReturnTargets(&F, Handler, ReturnTargets);
883883 }
884 }
884 delete Action;
885 }
886 ActionList.clear();
885887 for (BasicBlock *Target : ReturnTargets) {
886888 Branch->addDestination(Target);
887889 // The target may be a block that we excepted to get pruned.