Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ta/user-manual'
[gitweb.git]
/
builtin
/
reflog.c
diff --git
a/builtin/reflog.c
b/builtin/reflog.c
index 54184b3d133bb66db272fd21ad3cad53a4a9a5cb..ba27f7cc614214eb32f60b684b3617c39a0066ef 100644
(file)
--- a/
builtin/reflog.c
+++ b/
builtin/reflog.c
@@
-94,8
+94,7
@@
static int tree_is_complete(const unsigned char *sha1)
complete = 0;
}
}
- free(tree->buffer);
- tree->buffer = NULL;
+ free_tree_buffer(tree);
if (complete)
tree->object.flags |= SEEN;