Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/fetch-compact-update'
[gitweb.git]
/
builtin
/
fsck.c
diff --git
a/builtin/fsck.c
b/builtin/fsck.c
index bf5ddff43f74e0dba77d05e04bc14c0c59884287..9c4c11d0adedc7ebd5c48f8c786c6780394f22b1 100644
(file)
--- a/
builtin/fsck.c
+++ b/
builtin/fsck.c
@@
-401,7
+401,8
@@
static int fsck_obj(struct object *obj, void *buffer, unsigned long size)
if (obj->type == OBJ_TREE)
free_tree_buffer((struct tree *)obj);
if (obj->type == OBJ_COMMIT)
- free_commit_buffer((struct commit *)obj);
+ free_commit_buffer(the_repository->parsed_objects,
+ (struct commit *)obj);
return err;
}