fix memleaks

llvm-svn: 62198
This commit is contained in:
Nuno Lopes 2009-01-13 23:35:49 +00:00
parent 6f5847ccfc
commit b5a8a4b4dd

View File

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