Skip to content

Commit

Permalink
Merge branch 'sp/maint-pack-memuse'
Browse files Browse the repository at this point in the history
* sp/maint-pack-memuse:
  Correct pack memory leak causing git gc to try to exceed ulimit

Conflicts:

	sha1_file.c
  • Loading branch information
Junio C Hamano committed Jul 9, 2008
2 parents bb293b8 + eac12e2 commit 948e747
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sha1_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
/*
Expand Down

0 comments on commit 948e747

Please sign in to comment.