diff options
-rw-r--r-- | lib/AST/Stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Stmt.cpp b/lib/AST/Stmt.cpp index b12518fa78..6d8ebcf864 100644 --- a/lib/AST/Stmt.cpp +++ b/lib/AST/Stmt.cpp @@ -57,7 +57,7 @@ void Stmt::Destroy(ASTContext& C) { void DeclStmt::Destroy(ASTContext& C) { TheDecl->Destroy(C); - Stmt::Destroy(C); + delete this; } void Stmt::PrintStats() { |