]> granicus.if.org Git - clang/commitdiff
Don't leak the TBAA object.
authorDan Gohman <gohman@apple.com>
Fri, 15 Oct 2010 18:04:46 +0000 (18:04 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 15 Oct 2010 18:04:46 +0000 (18:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116595 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenModule.cpp

index 660564d6fcbb50e103fa34ec348556549c71c63c..d71c74b8e3e6e51531919a90db6fdbf7b498eb3c 100644 (file)
@@ -92,6 +92,7 @@ CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO,
 CodeGenModule::~CodeGenModule() {
   delete Runtime;
   delete &ABI;
+  delete TBAA;
   delete DebugInfo;
 }