REVIEW: Memory Leak - SGMaterialLib::load()
10,240 (1,440 direct, 8,800 indirect) bytes in 60 blocks are definitely lost
This commit is contained in:
parent
bdd7878d19
commit
b4ba7db5c0
@ -97,6 +97,7 @@ bool SGMaterialLib::load( const SGPath &fg_root, const SGPath& mpath,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Read list of areas
|
// 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;
|
AreaList* arealist = new AreaList;
|
||||||
|
|
||||||
const simgear::PropertyList areas = node->getChildren("area");
|
const simgear::PropertyList areas = node->getChildren("area");
|
||||||
|
Loading…
Reference in New Issue
Block a user