mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Fixing a memory leak in WinEHPrepare
llvm-svn: 234059
This commit is contained in:
parent
968a03f8cd
commit
cecffb7afd
@ -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