mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-12 15:51:40 +00:00
Fixing a memory leak in WinEHPrepare
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234059 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a86b381a3
commit
2902e1ca86
@ -733,6 +733,8 @@ void WinEHPrepare::completeNestedLandingPad(Function *ParentFn,
|
||||
ActionTargets.push_back(NewBA);
|
||||
}
|
||||
}
|
||||
DeleteContainerPointers(ActionList);
|
||||
ActionList.clear();
|
||||
OutlinedBB->getInstList().push_back(EHActions);
|
||||
|
||||
// Insert an indirect branch into the outlined landing pad BB.
|
||||
|
Loading…
x
Reference in New Issue
Block a user