[llvm-commits] [llvm] r62198 - /llvm/trunk/lib/Target/CBackend/CBackend.cpp
Nuno Lopes
nunoplopes at sapo.pt
Tue Jan 13 15:35:49 PST 2009
Author: nlopes
Date: Tue Jan 13 17:35:49 2009
New Revision: 62198
URL: http://llvm.org/viewvc/llvm-project?rev=62198&view=rev
Log:
fix memleaks
Modified:
llvm/trunk/lib/Target/CBackend/CBackend.cpp
Modified: llvm/trunk/lib/Target/CBackend/CBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CBackend/CBackend.cpp?rev=62198&r1=62197&r2=62198&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CBackend/CBackend.cpp (original)
+++ llvm/trunk/lib/Target/CBackend/CBackend.cpp Tue Jan 13 17:35:49 2009
@@ -130,6 +130,8 @@
virtual bool doFinalization(Module &M) {
// Free memory...
+ delete IL;
+ delete TD;
delete Mang;
FPConstantMap.clear();
TypeNames.clear();
More information about the llvm-commits
mailing list