diff options
Diffstat (limited to 'kturtle/src/treenode.cpp')
-rw-r--r-- | kturtle/src/treenode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kturtle/src/treenode.cpp b/kturtle/src/treenode.cpp index 0b5619a5..0579af7e 100644 --- a/kturtle/src/treenode.cpp +++ b/kturtle/src/treenode.cpp @@ -248,7 +248,7 @@ void TreeNode::destroy(TreeNode* node) for ( TreeNode::iterator i = node->begin(); i != node->end(); ++i ) { destroy(*i); - (*i)->clear(); //free children + (*i)->clear(); //free tqchildren //delete ( *i ); //free mem } } |