Makefile: rebuild perl scripts when perl paths change
[gitweb.git] / http-push.c
index b1e74d2086b8e0dee261358622016f6613249fcf..34cb70f90ea14a18848bd270463f5a34dc2c8fd3 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;
 }