Deallocate type units when destroying a DWARFContext.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191637 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2013-09-29 11:24:02 +00:00
parent fd40d514ec
commit 1fe49e68ba

View File

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