| commit | 38d2ff2bf79635fefb284bf95ab93dd249786b2a | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Fri Feb 20 17:53:35 2009 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Fri Feb 20 17:53:35 2009 +0000 |
| tree | ee9e51f1c19f244ce97b883ea335fe0ae1dae65c | |
| parent | 273dce44728339a573ae98785b2f4c18481c36b7 [diff] [blame] |
remove a dead list. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65127 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp index 1651df9..5b59af9 100644 --- a/lib/AST/DeclObjC.cpp +++ b/lib/AST/DeclObjC.cpp
@@ -106,8 +106,7 @@ } void ObjCProtocolDecl::Destroy(ASTContext &C) { - delete [] PropertyDecl; - PropertyDecl = 0; + ReferencedProtocols.clear(); ObjCContainerDecl::Destroy(C); }