commit | 9f5a6a98131c35d86643f50f4949ef6df03bd0e4 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Tue May 27 04:22:24 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Tue May 27 04:22:24 2008 +0000 |
tree | e297263c5d691962d2175a41833463e5951bcc84 | |
parent | e5596cfeebfabbebdd6b8215a9afaaebf617a95a [diff] [blame] |
Stop leaking the target data. (Leak found with valgrind.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51579 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ModuleBuilder.cpp b/lib/CodeGen/ModuleBuilder.cpp index 6387c62..1184307 100644 --- a/lib/CodeGen/ModuleBuilder.cpp +++ b/lib/CodeGen/ModuleBuilder.cpp
@@ -46,6 +46,7 @@ ~CodeGenerator() { delete Builder; + delete TD; } virtual void Initialize(ASTContext &Context) {