1
0
Fork 0

REVIEW: Memory Leak - Branch::childAtIndex

9,152 bytes in 52 blocks are still reachable
This commit is contained in:
Scott Giese 2020-08-22 18:01:15 -05:00
parent f21eb3a484
commit 8e9e16bac6

View file

@ -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);
}