commit | 03e662d5be90cb2dfe4eb158719270ae81163cc7 | [log] [tgz] |
---|---|---|
author | Sam Bishop <sam@bishop.dhs.org> | Thu Apr 03 05:03:34 2008 +0000 |
committer | Sam Bishop <sam@bishop.dhs.org> | Thu Apr 03 05:03:34 2008 +0000 |
tree | b627b69d29e3ef63d9059cf9096c436b34feb412 | |
parent | ca6226628ed48e81932d16634ad98a1a5b4ce744 [diff] [blame] |
Call delete on the deserialized TranslationUnit object. llvm-svn: 49136
diff --git a/clang/Driver/SerializationTest.cpp b/clang/Driver/SerializationTest.cpp index e9d6f59..086d558 100644 --- a/clang/Driver/SerializationTest.cpp +++ b/clang/Driver/SerializationTest.cpp
@@ -99,6 +99,8 @@ for (TranslationUnit::iterator I=NewTU->begin(), E=NewTU->end(); I!=E; ++I) FilePrinter->HandleTopLevelDecl(*I); } + + delete NewTU; return true; }