summaryrefslogtreecommitdiff
path: root/tree/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tree/tree.c')
-rw-r--r--tree/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree/tree.c b/tree/tree.c
index 12bbc822..85521cdc 100644
--- a/tree/tree.c
+++ b/tree/tree.c
@@ -31,7 +31,7 @@ fz_droptree(fz_tree *tree)
if (tree->refcount == 0)
{
if (tree->root)
- fz_freenode(tree->root);
+ fz_dropnode(tree->root);
fz_free(tree);
}
}