diff options
Diffstat (limited to 'src/doctree.hh')
-rw-r--r-- | src/doctree.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doctree.hh b/src/doctree.hh index 92cf6f0d..85c1effd 100644 --- a/src/doctree.hh +++ b/src/doctree.hh @@ -58,7 +58,7 @@ class Doctree { num = 0; }; - ~Doctree () { + ~Doctree () { delete rootNode; }; @@ -85,7 +85,7 @@ class Doctree { }; inline DoctreeNode *parent (const DoctreeNode *node) { - if (node->parent != rootNode) + if (node->parent != rootNode) return node->parent; else return NULL; |