projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd40d51
)
Deallocate type units when destroying a DWARFContext.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Sun, 29 Sep 2013 11:24:02 +0000
(11:24 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Sun, 29 Sep 2013 11:24:02 +0000
(11:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191637
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/DebugInfo/DWARFContext.cpp
patch
|
blob
|
history
diff --git
a/lib/DebugInfo/DWARFContext.cpp
b/lib/DebugInfo/DWARFContext.cpp
index f8234e93c58cc5c401a70e6a1b7b6a0a09f103de..df4633d2c0507e8b8d56db0b2563a673a39320e2 100644
(file)
--- a/
lib/DebugInfo/DWARFContext.cpp
+++ b/
lib/DebugInfo/DWARFContext.cpp
@@
-25,6
+25,7
@@
typedef DWARFDebugLine::LineTable DWARFLineTable;
DWARFContext::~DWARFContext() {
DeleteContainerPointers(CUs);
+ DeleteContainerPointers(TUs);
DeleteContainerPointers(DWOCUs);
}