diff options
Diffstat (limited to 'lib/AST/TranslationUnit.cpp')
-rw-r--r-- | lib/AST/TranslationUnit.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/AST/TranslationUnit.cpp b/lib/AST/TranslationUnit.cpp index 95cad39f68..ed84241df4 100644 --- a/lib/AST/TranslationUnit.cpp +++ b/lib/AST/TranslationUnit.cpp @@ -35,10 +35,9 @@ TranslationUnit::~TranslationUnit() { // The ASTContext object has the sole references to the IdentifierTable // Selectors, and the Target information. Go and delete them, since // the TranslationUnit effectively owns them. - - delete &(Context->Idents); - delete &(Context->Selectors); - delete &(Context->Target); + delete &Context->Idents; + delete &Context->Selectors; + delete &Context->Target; delete Context; } } |