mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +00:00
Remove another leak. Due to some reason AliasSetTracker didn't had any dtor...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44320 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -84,6 +84,11 @@ namespace {
|
||||
}
|
||||
|
||||
bool doFinalization() {
|
||||
// Free the values stored in the map
|
||||
for (std::map<Loop *, AliasSetTracker *>::iterator
|
||||
I = LoopToAliasMap.begin(), E = LoopToAliasMap.end(); I != E; ++I)
|
||||
delete I->second;
|
||||
|
||||
LoopToAliasMap.clear();
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user