commit | 94a8180da701c4dc6ca925a21255b86a327ac0b6 | [log] [tgz] |
---|---|---|
author | Jessica Paquette <jpaquette@apple.com> | Wed Mar 08 23:55:33 2017 +0000 |
committer | Jessica Paquette <jpaquette@apple.com> | Wed Mar 08 23:55:33 2017 +0000 |
tree | dd1d0cce787cadc6613213e4539d55d5bd848984 | |
parent | 9dd9f4f8b4cc334831976baf7ff7b01c161e7ccd [diff] |
[Outliner] Fix memory leak in suffix tree. This commit changes the BumpPtrAllocator for suffix tree nodes to a SpecificBumpPtrAllocator. Before, node construction was leaking memory because of the DenseMap in SuffixTreeNodes. Changing this to a SpecificBumpPtrAllocator allows this memory to properly be released. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297319 91177308-0d34-0410-b5e6-96231b3b80d8