Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Pass a (ref_cache *) to the resolve_gitlink_*() helper functions
[gitweb.git]
/
builtin
/
mktree.c
diff --git
a/builtin/mktree.c
b/builtin/mktree.c
index 098395fda1932674e29f8d2cb332c722a6cb275f..4ae1c412d47bd581f22ec8b821a1111224dddd28 100644
(file)
--- a/
builtin/mktree.c
+++ b/
builtin/mktree.c
@@
-60,6
+60,7
@@
static void write_tree(unsigned char *sha1)
}
write_sha1_file(buf.buf, buf.len, tree_type, sha1);
+ strbuf_release(&buf);
}
static const char *mktree_usage[] = {