fix memleaks

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nuno Lopes 2009-01-13 23:35:49 +00:00
parent 0746392cc2
commit bb6382e32d

View File

@ -130,6 +130,8 @@ namespace {
virtual bool doFinalization(Module &M) {
// Free memory...
delete IL;
delete TD;
delete Mang;
FPConstantMap.clear();
TypeNames.clear();