Deallocate type units when destroying a DWARFContext.

llvm-svn: 191637
This commit is contained in:
Benjamin Kramer 2013-09-29 11:24:02 +00:00
parent c3c807b3bf
commit 41fe88e7b4
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ typedef DWARFDebugLine::LineTable DWARFLineTable;
DWARFContext::~DWARFContext() {
DeleteContainerPointers(CUs);
DeleteContainerPointers(TUs);
DeleteContainerPointers(DWOCUs);
}