]> granicus.if.org Git - clang/commitdiff
destroy should forward to base class.
authorChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2009 20:42:28 +0000 (20:42 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 20 Feb 2009 20:42:28 +0000 (20:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65151 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/DeclObjC.cpp

index ccf641f94d41b88ff3bc0f3000094b81962efb1e..98343e7222283da0ee00d96a6bfe52db866ae460 100644 (file)
@@ -178,6 +178,7 @@ ObjCImplementationDecl::Create(ASTContext &C, DeclContext *DC,
 /// Destroy - Call destructors and release memory.
 void ObjCImplementationDecl::Destroy(ASTContext& C) {
   IVars.clear();
+  Decl::Destroy(C);
 }