From 4376c85fb0ac9e7fd779d246efc77e1169179138 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 15 Oct 2010 18:04:46 +0000 Subject: [PATCH] Don't leak the TBAA object. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116595 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 660564d6fc..d71c74b8e3 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -92,6 +92,7 @@ CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO, CodeGenModule::~CodeGenModule() { delete Runtime; delete &ABI; + delete TBAA; delete DebugInfo; } -- 2.40.0