mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +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…
Reference in New Issue
Block a user