diff --git a/simgear/scene/material/EffectBuilder.hxx b/simgear/scene/material/EffectBuilder.hxx index 88703569..d1bb9031 100644 --- a/simgear/scene/material/EffectBuilder.hxx +++ b/simgear/scene/material/EffectBuilder.hxx @@ -618,6 +618,9 @@ initFromParameters(Effect* effect, const SGPropertyNode* prop, ObjType* obj, } else { setDynamicVariance(obj); std::string propName = getGlobalProperty(valProp, options); + // REVIEW: Memory Leak - 156,910 (2,320 direct, 154,590 indirect) bytes in 29 blocks are definitely lost + // Weak Efforts::dtor + // Weak UniformFactoryImpl handling of dynamic memory ScalarChangeListener* listener = new ScalarChangeListener(obj, setter, propName);