r202558 - Fix leak in MicrosoftVTableContext
Reid Kleckner
reid at kleckner.net
Fri Feb 28 15:26:22 PST 2014
Author: rnk
Date: Fri Feb 28 17:26:22 2014
New Revision: 202558
URL: http://llvm.org/viewvc/llvm-project?rev=202558&view=rev
Log:
Fix leak in MicrosoftVTableContext
Modified:
cfe/trunk/lib/AST/VTableBuilder.cpp
Modified: cfe/trunk/lib/AST/VTableBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/VTableBuilder.cpp?rev=202558&r1=202557&r2=202558&view=diff
==============================================================================
--- cfe/trunk/lib/AST/VTableBuilder.cpp (original)
+++ cfe/trunk/lib/AST/VTableBuilder.cpp Fri Feb 28 17:26:22 2014
@@ -3373,6 +3373,7 @@ static bool rebucketPaths(VPtrInfoVector
}
MicrosoftVTableContext::~MicrosoftVTableContext() {
+ llvm::DeleteContainerSeconds(VFPtrLocations);
llvm::DeleteContainerSeconds(VFTableLayouts);
llvm::DeleteContainerSeconds(VBaseInfo);
}
More information about the cfe-commits
mailing list