From 1fe49e68baf567a689312eaf5973e017b8d2fdd5 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 29 Sep 2013 11:24:02 +0000 Subject: [PATCH] Deallocate type units when destroying a DWARFContext. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191637 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 f8234e93c58..df4633d2c05 100644 --- a/lib/DebugInfo/DWARFContext.cpp +++ b/lib/DebugInfo/DWARFContext.cpp @@ -25,6 +25,7 @@ typedef DWARFDebugLine::LineTable DWARFLineTable; DWARFContext::~DWARFContext() { DeleteContainerPointers(CUs); + DeleteContainerPointers(TUs); DeleteContainerPointers(DWOCUs); } -- 2.34.1