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 | 819e87379129179b8fef072f81a49cbc752ee58a (patch) | |
tree | fa287c6e9ed882828d4fa97da798fa191e9db238 /llvm/lib/Transforms/Utils/ValueMapper.cpp | |
parent | 2067816b3ad167a9a6003f9447f9a86a24596739 (diff) | |
download | bcm5719-llvm-819e87379129179b8fef072f81a49cbc752ee58a.tar.gz bcm5719-llvm-819e87379129179b8fef072f81a49cbc752ee58a.zip |
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions