commit | 4ccea1a2e9ecc0100115b428fbbee546362fb22c | [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 | 9a5e5006730e32c816ace84b2a99b5426dc92e31 | |
parent | 8266d7f62019c3366254461cec2275999e69999c [diff] [blame] |
Call delete on the deserialized TranslationUnit object. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49136 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/SerializationTest.cpp b/Driver/SerializationTest.cpp index e9d6f59..086d558 100644 --- a/Driver/SerializationTest.cpp +++ b/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; }