[cfe-commits] r51575 - /cfe/trunk/lib/AST/ASTContext.cpp

Eli Friedman eli.friedman at gmail.com
Mon May 26 20:08:11 PDT 2008


Author: efriedma
Date: Mon May 26 22:08:09 2008
New Revision: 51575

URL: http://llvm.org/viewvc/llvm-project?rev=51575&view=rev
Log:
Stop leaking the TUDecl.


Modified:
    cfe/trunk/lib/AST/ASTContext.cpp

Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=51575&r1=51574&r2=51575&view=diff

==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Mon May 26 22:08:09 2008
@@ -32,6 +32,8 @@
     Types.back()->Destroy(*this);
     Types.pop_back();
   }
+
+  TUDecl->Destroy(*this);
 }
 
 void ASTContext::PrintStats() const {





More information about the cfe-commits mailing list