Browse Source

Merge branch 'sp/maint-pack-memuse'

* sp/maint-pack-memuse:
  Correct pack memory leak causing git gc to try to exceed ulimit

Conflicts:

	sha1_file.c
maint
Junio C Hamano 17 years ago
parent
commit
948e7471e0
  1. 1
      sha1_file.c

1
sha1_file.c

@ -1630,6 +1630,7 @@ static void *unpack_delta_entry(struct packed_git *p, @@ -1630,6 +1630,7 @@ static void *unpack_delta_entry(struct packed_git *p,
(uintmax_t)curpos, p->pack_name);
return NULL;
}
unuse_pack(w_curs);
base = cache_or_unpack_entry(p, base_offset, &base_size, type, 0);
if (!base) {
/*

Loading…
Cancel
Save