commit | 879d27ad4670716c7cea7f86274f6096f6868fe1 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Mar 13 23:17:24 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Mar 13 23:17:24 2009 +0000 |
tree | dfe6c94fbdf1622c525109a0a38ddbdb6316e7a8 | |
parent | f40ed17472a39097cc5039ed437445289487c9bf [diff] [blame] |
BlockDecl::Destroy now deallocates BlockDecl's array of ParmVarDecl*. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66979 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index bd16331..19212a3 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp
@@ -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); }