From: Reid Kleckner Date: Fri, 28 Feb 2014 23:26:22 +0000 (+0000) Subject: Fix leak in MicrosoftVTableContext X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f89c97e5806110219a6526fade2e690b3dd93ca8;p=clang Fix leak in MicrosoftVTableContext git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202558 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/VTableBuilder.cpp b/lib/AST/VTableBuilder.cpp index 1531614c8f..660c0d15eb 100644 --- a/lib/AST/VTableBuilder.cpp +++ b/lib/AST/VTableBuilder.cpp @@ -3373,6 +3373,7 @@ static bool rebucketPaths(VPtrInfoVector &Paths) { } MicrosoftVTableContext::~MicrosoftVTableContext() { + llvm::DeleteContainerSeconds(VFPtrLocations); llvm::DeleteContainerSeconds(VFTableLayouts); llvm::DeleteContainerSeconds(VBaseInfo); }