diff options
Diffstat (limited to 'walker.c')
-rw-r--r-- | walker.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -56,10 +56,7 @@ static int process_tree(struct walker *walker, struct tree *tree) if (!obj || process(walker, obj)) return -1; } - free(tree->buffer); - tree->buffer = NULL; - tree->size = 0; - tree->object.parsed = 0; + free_tree_buffer(tree); return 0; } |