[llvm] r191637 - Deallocate type units when destroying a DWARFContext.
Benjamin Kramer
benny.kra at googlemail.com
Sun Sep 29 04:24:03 PDT 2013
Author: d0k
Date: Sun Sep 29 06:24:02 2013
New Revision: 191637
URL: http://llvm.org/viewvc/llvm-project?rev=191637&view=rev
Log:
Deallocate type units when destroying a DWARFContext.
Modified:
llvm/trunk/lib/DebugInfo/DWARFContext.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARFContext.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFContext.cpp?rev=191637&r1=191636&r2=191637&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFContext.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFContext.cpp Sun Sep 29 06:24:02 2013
@@ -25,6 +25,7 @@ typedef DWARFDebugLine::LineTable DWARFL
DWARFContext::~DWARFContext() {
DeleteContainerPointers(CUs);
+ DeleteContainerPointers(TUs);
DeleteContainerPointers(DWOCUs);
}
More information about the llvm-commits
mailing list