diff options
author | Pete Cooper <peter_cooper@apple.com> | 2016-01-25 21:50:54 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2016-01-25 21:50:54 +0000 |
commit | e420dd4d844ad3358bbaeed3b322a61838a6d986 (patch) | |
tree | 17b999a9be297337235810fff6e127be66c12f44 /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py | |
parent | 304d135f56b92ae63cdb2cdbb5cff0a20f0cc7b4 (diff) | |
download | bcm5719-llvm-e420dd4d844ad3358bbaeed3b322a61838a6d986.tar.gz bcm5719-llvm-e420dd4d844ad3358bbaeed3b322a61838a6d986.zip |
Use an ilist instead of std::list. NFC.
The TrieNode/TrieEdge data structures here are allocated in a bumpptrallocator.
Unfortunately, TrieNode contained a std::list<TrieEdge> and as the allocator doesn't
call the TrieNode destructor, we ended up leaking the memory allocated by the std::list
itself.
Instead we can use an intrusive list as then we save the extra allocations anyway.
llvm-svn: 258725
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions