diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-21 19:22:34 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-21 19:22:34 +0000 |
commit | 71842cc07aafdebc9b180322ebb46f530beca5d6 (patch) | |
tree | fcd0770ae5a35c741b83fb53df3931187c3f8dac /lib/Sema/SemaChecking.cpp | |
parent | 5bb4d982230f36e6e374ea6ac83f31011a8d0a6b (diff) |
Allocate the 'Protocols' array in ObjCInterfaceType and
ObjCObjectPointerType using the allocator associated with ASTContext.
Not only does this fix a memory leak, but it also makes these arrays
BumpPtrAllocated (in the typical case).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions