From b4ba7db5c062db1963469c7f313fc1861073ebd5 Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Sat, 22 Aug 2020 17:57:54 -0500 Subject: [PATCH] REVIEW: Memory Leak - SGMaterialLib::load() 10,240 (1,440 direct, 8,800 indirect) bytes in 60 blocks are definitely lost --- simgear/scene/material/matlib.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/simgear/scene/material/matlib.cxx b/simgear/scene/material/matlib.cxx index 3459d7e0..353d123d 100644 --- a/simgear/scene/material/matlib.cxx +++ b/simgear/scene/material/matlib.cxx @@ -97,6 +97,7 @@ bool SGMaterialLib::load( const SGPath &fg_root, const SGPath& mpath, } // Read list of areas + // REVIEW: Memory Leak - 10,240 (1,440 direct, 8,800 indirect) bytes in 60 blocks are definitely lost AreaList* arealist = new AreaList; const simgear::PropertyList areas = node->getChildren("area");