diff --git a/simgear/scene/material/mat.cxx b/simgear/scene/material/mat.cxx index 1768c158..5141807e 100644 --- a/simgear/scene/material/mat.cxx +++ b/simgear/scene/material/mat.cxx @@ -412,6 +412,7 @@ SGMaterial::read_properties(const SGReaderWriterOptions* options, if (props->hasChild("parameters")) { parameters = props->getChild("parameters"); } else { + // REVIEW: Memory Leak - 61,560 bytes in 405 blocks are definitely lost parameters = new SGPropertyNode(); } }