diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2009-01-13 23:35:49 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2009-01-13 23:35:49 +0000 |
commit | bb6382e32d2bb1c9228e4bef633d5be81b504f5b (patch) | |
tree | bdc76fdc1f9ef65b3ebd903c437982ab6b0fad8b | |
parent | 0746392cc29f6484b50852387c72a7dba54bf379 (diff) | |
download | external_llvm-bb6382e32d2bb1c9228e4bef633d5be81b504f5b.zip external_llvm-bb6382e32d2bb1c9228e4bef633d5be81b504f5b.tar.gz external_llvm-bb6382e32d2bb1c9228e4bef633d5be81b504f5b.tar.bz2 |
fix memleaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62198 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 6f40cae..541a1fe 100644 --- 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(); |