Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack-objects: use bitmaps when packing objects
[gitweb.git]
/
builtin
/
reflog.c
diff --git
a/builtin/reflog.c
b/builtin/reflog.c
index 28d756a418b27c9b9bf23805e54b74f6c3332ece..6eb24c8da27d265cad38628aeaa3e040dd298aab 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;