REVIEW: Memory Leak - Branch::childAtIndex
9,152 bytes in 52 blocks are still reachable
This commit is contained in:
parent
f21eb3a484
commit
8e9e16bac6
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ Node* Branch::childAtIndex(int childIndex) const
|
|||
if (d2 < LEAF_SIZE_SQR) {
|
||||
child = new Leaf(cb, childIdent);
|
||||
} else {
|
||||
// REVIEW: Memory Leak - 9,152 bytes in 52 blocks are still reachable
|
||||
child = new Branch(cb, childIdent);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue