destroy should forward to base class.

llvm-svn: 65151
This commit is contained in:
Chris Lattner 2009-02-20 20:42:28 +00:00
parent d7ba858314
commit a4af543375
1 changed files with 1 additions and 0 deletions

View 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);
}