[cfe-commits] r66979 - /cfe/trunk/lib/AST/Decl.cpp
Ted Kremenek
kremenek at apple.com
Fri Mar 13 16:17:25 PDT 2009
Author: kremenek
Date: Fri Mar 13 18:17:24 2009
New Revision: 66979
URL: http://llvm.org/viewvc/llvm-project?rev=66979&view=rev
Log:
BlockDecl::Destroy now deallocates BlockDecl's array of ParmVarDecl*.
Modified:
cfe/trunk/lib/AST/Decl.cpp
Modified: cfe/trunk/lib/AST/Decl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=66979&r1=66978&r2=66979&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Decl.cpp (original)
+++ cfe/trunk/lib/AST/Decl.cpp Fri Mar 13 18:17:24 2009
@@ -511,7 +511,8 @@
for (param_iterator I=param_begin(), E=param_end(); I!=E; ++I)
(*I)->Destroy(C);
-
+
+ C.Deallocate(ParamInfo);
Decl::Destroy(C);
}
More information about the cfe-commits
mailing list