From 0807a6ddf730139e8a89002751d397d18487a421 Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Sat, 22 Aug 2020 17:37:39 -0500 Subject: [PATCH] REVIEW: Memory Leak - SGPropertyNode::addChangeListener 24,928 bytes in 164 blocks are indirectly lost --- simgear/props/props.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/simgear/props/props.cxx b/simgear/props/props.cxx index 433c80fe..32d435d8 100755 --- a/simgear/props/props.cxx +++ b/simgear/props/props.cxx @@ -2421,6 +2421,7 @@ SGPropertyNode::addChangeListener (SGPropertyChangeListener * listener, } listener->register_property(this); if (initial) + // REVIEW: Memory Leak - 24,928 bytes in 164 blocks are indirectly lost listener->valueChanged(this); }