diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-01-24 13:40:43 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-01-24 13:40:43 +0000 |
commit | 7409e8438160f2a7f10b3ee14d801be20aaea714 (patch) | |
tree | 04cad73821c1091ff831cb9e0bdbe2029927efd3 /llvm | |
parent | 518490b94981c522f81255945f31c1e020991054 (diff) | |
download | bcm5719-llvm-7409e8438160f2a7f10b3ee14d801be20aaea714.tar.gz bcm5719-llvm-7409e8438160f2a7f10b3ee14d801be20aaea714.zip |
DWARFContext: Fix possible memory leak since r198908.
llvm-svn: 200000
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/DebugInfo/DWARFContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARFContext.cpp index b725619d8e2..3b73f7ff4df 100644 --- a/llvm/lib/DebugInfo/DWARFContext.cpp +++ b/llvm/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, |