From 0ce2fdf19092eacee47af2d3d67d28c19d101df3 Mon Sep 17 00:00:00 2001
From: Scott Giese <scttgs0@gmail.com>
Date: Sun, 23 Aug 2020 00:15:42 -0500
Subject: [PATCH] REVIEW: Memory Leak - PositionedOctree.cxx

1,728 bytes in 36 blocks are still reachable
1,280 bytes in 8 blocks are still reachable
480 bytes in 3 blocks are still reachable
---
 src/Navaids/PositionedOctree.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Navaids/PositionedOctree.cxx b/src/Navaids/PositionedOctree.cxx
index 1443d75ae..180e8e756 100644
--- a/src/Navaids/PositionedOctree.cxx
+++ b/src/Navaids/PositionedOctree.cxx
@@ -127,6 +127,7 @@ void Leaf::loadChildren()
 
   NavDataCache* cache = NavDataCache::instance();
   for (const auto& tp : cache->getOctreeLeafChildren(guid())) {
+    // REVIEW: Memory Leak - 1,728 bytes in 36 blocks are still reachable
     children.insert(children.end(), tp);
   } // of leaf members iteration
 
@@ -247,6 +248,7 @@ Node* Branch::childAtIndex(int childIndex) const
     int64_t childIdent = (_ident << 3) | childIndex;
 
     if (d2 < LEAF_SIZE_SQR) {
+      // REVIEW: Memory Leak - 480 bytes in 3 blocks are still reachable
       child = new Leaf(cb, childIdent);
     } else {
       // REVIEW: Memory Leak - 9,152 bytes in 52 blocks are still reachable