projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0746392
)
fix memleaks
author
Nuno Lopes
<nunoplopes@sapo.pt>
Tue, 13 Jan 2009 23:35:49 +0000
(23:35 +0000)
committer
Nuno Lopes
<nunoplopes@sapo.pt>
Tue, 13 Jan 2009 23:35:49 +0000
(23:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62198
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/CBackend/CBackend.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/CBackend/CBackend.cpp
b/lib/Target/CBackend/CBackend.cpp
index 6f40caef213b0d3e64d494c348e16388e1860f81..541a1feca550a250ea49d01e07c0d11ae379b9a6 100644
(file)
--- a/
lib/Target/CBackend/CBackend.cpp
+++ b/
lib/Target/CBackend/CBackend.cpp
@@
-130,6
+130,8
@@
namespace {
virtual bool doFinalization(Module &M) {
// Free memory...
+ delete IL;
+ delete TD;
delete Mang;
FPConstantMap.clear();
TypeNames.clear();