summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin-archive.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin-archive.c b/builtin-archive.c
index 391cf43911..32737d3162 100644
--- a/builtin-archive.c
+++ b/builtin-archive.c
@@ -137,7 +137,6 @@ void parse_treeish_arg(const char **argv, struct archiver_args *ar_args,
if (err || !S_ISDIR(mode))
die("current working directory is untracked");
- free(tree);
tree = parse_tree_indirect(tree_sha1);
}
ar_args->tree = tree;