commit | 7a7445ea89c00e113df14e288c83b8e7e0dfb78f | [log] [tgz] |
---|---|---|
author | Sam Bishop <sam@bishop.dhs.org> | Thu Apr 03 05:01:04 2008 +0000 |
committer | Sam Bishop <sam@bishop.dhs.org> | Thu Apr 03 05:01:04 2008 +0000 |
tree | 3a795645b2f2b935f34261854d3e98b86ffe913c | |
parent | 7d8674eb1bd9e05b1bc99b40a640974a0c640d46 [diff] [blame] |
Call "delete" on the body of FunctionDecls. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49135 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index 4c8f6b8..3e7d838 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp
@@ -357,6 +357,7 @@ FunctionDecl::~FunctionDecl() { delete[] ParamInfo; + delete Body; } unsigned FunctionDecl::getNumParams() const {