REVIEW: Memory Leak - SGPropertyNode::addChangeListener

24,928 bytes in 164 blocks are indirectly lost
This commit is contained in:
Scott Giese 2020-08-22 17:37:39 -05:00
parent ea53e9af0c
commit 0807a6ddf7

View File

@ -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);
}