pack-objects: name pack files after trailer hash
[gitweb.git] / http-push.c
index cde6416d37751fe0724e7c021e858530a74cf466..69200baf7651c2bcb99d6bc2068429e22865f900 100644 (file)
@@ -1330,8 +1330,7 @@ static struct object_list **process_tree(struct tree *tree,
                        break;
                }
 
-       free(tree->buffer);
-       tree->buffer = NULL;
+       free_tree_buffer(tree);
        return p;
 }