Merge branch 'jx/branch-vv-always-compare-with-upstream'
[gitweb.git] / revision.c
index 6230a80a77bf261d47adcb97a8bd62bef4f37087..172b0d3b2c090c4b0bcce40b5cb19d5e544a0aed 100644 (file)
@@ -139,8 +139,7 @@ void mark_tree_uninteresting(struct tree *tree)
         * We don't care about the tree any more
         * after it has been marked uninteresting.
         */
-       free(tree->buffer);
-       tree->buffer = NULL;
+       free_tree_buffer(tree);
 }
 
 void mark_parents_uninteresting(struct commit *commit)