Fix memory leak introduced in r276159.
llvm-svn: 276188
This commit is contained in:
parent
913feb2a0d
commit
423f46f2d8
@ -787,6 +787,9 @@ ASTContext::~ASTContext() {
|
||||
MaterializedTemporaryValues)
|
||||
MTVPair.second->~APValue();
|
||||
|
||||
for (const auto &Value : ModuleInitializers)
|
||||
Value.second->~PerModuleInitializers();
|
||||
|
||||
llvm::DeleteContainerSeconds(MangleNumberingContexts);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user