[llvm] r200000 - DWARFContext: Fix possible memory leak since r198908.
NAKAMURA Takumi
geek4civic at gmail.com
Fri Jan 24 05:40:43 PST 2014
Author: chapuni
Date: Fri Jan 24 07:40:43 2014
New Revision: 200000
URL: http://llvm.org/viewvc/llvm-project?rev=200000&view=rev
Log:
DWARFContext: Fix possible memory leak since r198908.
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=200000&r1=199999&r2=200000&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFContext.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFContext.cpp Fri Jan 24 07:40:43 2014
@@ -27,6 +27,7 @@ DWARFContext::~DWARFContext() {
DeleteContainerPointers(CUs);
DeleteContainerPointers(TUs);
DeleteContainerPointers(DWOCUs);
+ DeleteContainerPointers(DWOTUs);
}
static void dumpPubSection(raw_ostream &OS, StringRef Name, StringRef Data,
More information about the llvm-commits
mailing list