diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-05-27 03:08:09 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-05-27 03:08:09 +0000 |
commit | b26153c2b06934b6d39886cae2a379988d9c3e2b (patch) | |
tree | b8e8334a7ff5e44481cd5be942d0309668087822 | |
parent | 1f3105e1eeece9ffdc14d7262c7af486ac76600a (diff) |
Stop leaking the TUDecl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51575 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AST/ASTContext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index 923aab291d..6344ce570c 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -32,6 +32,8 @@ ASTContext::~ASTContext() { Types.back()->Destroy(*this); Types.pop_back(); } + + TUDecl->Destroy(*this); } void ASTContext::PrintStats() const { |