commit | 41fe88e7b46331362becd01c5cf9c18aee923a80 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sun Sep 29 11:24:02 2013 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sun Sep 29 11:24:02 2013 +0000 |
tree | e15914ca8ea936f9451f26d33f010e78b9893648 | |
parent | c3c807b3bff305ab4befce71aca574bcd08853f3 [diff] [blame] |
Deallocate type units when destroying a DWARFContext. llvm-svn: 191637
diff --git a/llvm/lib/DebugInfo/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARFContext.cpp index f8234e9..df4633d 100644 --- a/llvm/lib/DebugInfo/DWARFContext.cpp +++ b/llvm/lib/DebugInfo/DWARFContext.cpp
@@ -25,6 +25,7 @@ DWARFContext::~DWARFContext() { DeleteContainerPointers(CUs); + DeleteContainerPointers(TUs); DeleteContainerPointers(DWOCUs); }