REVIEW: Memory Leak - SGPropertyNode::addChangeListener
24,928 bytes in 164 blocks are indirectly lost
This commit is contained in:
parent
ea53e9af0c
commit
0807a6ddf7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user