Skip to content
Commit f5bcc6a2 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Allocate the contents of TemplateArgumentList using ASTContext's allocator. This fixes

a massive memory leak when using a BumpPtrAllocator in ASTContext.

Added a FIXME, as the Destroy method for TemplateArgumentList isn't getting called.
This means we will instead leak when using the MallocAllocator.

llvm-svn: 104633
parent cd4ba6ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment