Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
update-index: fix xgetcwd() related memory leak
[gitweb.git]
/
pack-check.c
diff --git
a/pack-check.c
b/pack-check.c
index 63a595c45c961fce54cca95ab6e09e3336f0bb8e..433bd86ccd5c38ff5a4993be4e1463946aead59d 100644
(file)
--- a/
pack-check.c
+++ b/
pack-check.c
@@
-126,7
+126,7
@@
static int verify_packfile(struct packed_git *p,
sha1_to_hex(entries[i].sha1), p->pack_name);
else if (fn) {
int eaten = 0;
- fn(entries[i].sha1, type, size, data, &eaten);
+
err |=
fn(entries[i].sha1, type, size, data, &eaten);
if (eaten)
data = NULL;
}