diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-05-25 20:43:29 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-05-25 20:43:29 +0000 |
commit | 3458d43b68cc2fd1cb2b2304614e1dc3419820d8 (patch) | |
tree | ed82c0ffd8f564e219b9986b83b797e197b7d955 /lib/Frontend/CompilerInvocation.cpp | |
parent | ff3dc395ba08b3a3cadc8d3121a4cb086ab287d6 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions