Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clear parsed flag when we free tree buffers
[gitweb.git]
/
builtin
/
reflog.c
diff --git
a/builtin/reflog.c
b/builtin/reflog.c
index 72a0af70c3dcd7d108887cd289bc7b3c606226aa..9f121cd587060fc61eb3f39d8f5418ddc225c498 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;