REVIEW: Memory Leak - SGPropertyNode::getChild()
12,862 (11,856 direct, 1,006 indirect) bytes in 78 blocks are definitely lost
This commit is contained in:
parent
0807a6ddf7
commit
f210d6ba94
@ -1196,6 +1196,7 @@ SGPropertyNode::getChild (const std::string& name, int index, bool create)
|
||||
return node;
|
||||
#endif
|
||||
} else if (create) {
|
||||
// REVIEW: Memory Leak - 12,862 (11,856 direct, 1,006 indirect) bytes in 78 blocks are definitely lost
|
||||
SGPropertyNode* node = new SGPropertyNode(name, index, this);
|
||||
_children.push_back(node);
|
||||
fireChildAdded(node);
|
||||
|
Loading…
Reference in New Issue
Block a user