diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/lib/AST/Stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Stmt.cpp b/clang/lib/AST/Stmt.cpp index b12518fa78c..6d8ebcf8649 100644 --- a/clang/lib/AST/Stmt.cpp +++ b/clang/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() { |