Call "delete" on the body of FunctionDecls.

llvm-svn: 49135
This commit is contained in:
Sam Bishop 2008-04-03 05:01:04 +00:00
parent 4e9cc3f272
commit ca6226628e
1 changed files with 1 additions and 0 deletions

View File

@ -357,6 +357,7 @@ bool ScopedDecl::isDefinedOutsideFunctionOrMethod() const {
FunctionDecl::~FunctionDecl() {
delete[] ParamInfo;
delete Body;
}
unsigned FunctionDecl::getNumParams() const {