summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/fitz/tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/fitz/tree.c b/source/fitz/tree.c
index 9547dd2f..897e6914 100644
--- a/source/fitz/tree.c
+++ b/source/fitz/tree.c
@@ -100,6 +100,7 @@ void fz_drop_tree(fz_context *ctx, fz_tree *node, void (*dropfunc)(fz_context *c
fz_free(ctx, node->key);
if (dropfunc)
dropfunc(ctx, node->value);
+ fz_free(ctx, node);
}
}