commit | 3e1d35b92d507423b88172a96aef2d8e817b2db2 | [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 | 89c4fa11dd5b04f4e2b177c25a4cdda159b013e7 | |
parent | bdef5df44e59e941e71e16eebd2001b38e22e901 [diff] [blame] |
Stop leaking the target data. (Leak found with valgrind.) llvm-svn: 51579
diff --git a/clang/lib/CodeGen/ModuleBuilder.cpp b/clang/lib/CodeGen/ModuleBuilder.cpp index 6387c62..1184307 100644 --- a/clang/lib/CodeGen/ModuleBuilder.cpp +++ b/clang/lib/CodeGen/ModuleBuilder.cpp
@@ -46,6 +46,7 @@ ~CodeGenerator() { delete Builder; + delete TD; } virtual void Initialize(ASTContext &Context) {