Commit 819e8737 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

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).

llvm-svn: 94090
parent 2067816b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment