commit | 8266d7f62019c3366254461cec2275999e69999c | [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 | 94826a7910484a6c7e191e7c8a5604fffd864b4d [diff] |
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 {