mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
fix memleaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0746392cc2
commit
bb6382e32d
@ -130,6 +130,8 @@ namespace {
|
||||
|
||||
virtual bool doFinalization(Module &M) {
|
||||
// Free memory...
|
||||
delete IL;
|
||||
delete TD;
|
||||
delete Mang;
|
||||
FPConstantMap.clear();
|
||||
TypeNames.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user