From 98fd6f18aae75bfea7360503a4cf8d1af3e7fad1 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 24 Jan 2014 13:40:43 +0000 Subject: [PATCH] DWARFContext: Fix possible memory leak since r198908. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200000 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/DWARFContext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp index b725619d8e2..3b73f7ff4df 100644 --- a/lib/DebugInfo/DWARFContext.cpp +++ b/lib/DebugInfo/DWARFContext.cpp @@ -27,6 +27,7 @@ DWARFContext::~DWARFContext() { DeleteContainerPointers(CUs); DeleteContainerPointers(TUs); DeleteContainerPointers(DWOCUs); + DeleteContainerPointers(DWOTUs); } static void dumpPubSection(raw_ostream &OS, StringRef Name, StringRef Data,