[cfe-commits] r51544 - /cfe/trunk/lib/AST/Decl.cpp
Ted Kremenek
kremenek at apple.com
Sat May 24 08:09:57 PDT 2008
Author: kremenek
Date: Sat May 24 10:09:56 2008
New Revision: 51544
URL: http://llvm.org/viewvc/llvm-project?rev=51544&view=rev
Log:
Call the correct destructor.
Modified:
cfe/trunk/lib/AST/Decl.cpp
Modified: cfe/trunk/lib/AST/Decl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=51544&r1=51543&r2=51544&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Decl.cpp (original)
+++ cfe/trunk/lib/AST/Decl.cpp Sat May 24 10:09:56 2008
@@ -231,7 +231,7 @@
// NamespaceDecl uses "NextDeclarator" to chain namespace declarations
// together. They are all top-level Decls.
- this->~Decl();
+ this->~NamespaceDecl();
C.getAllocator().Deallocate((void *)this);
}
More information about the cfe-commits
mailing list