Merge branch 'sp/maint-pack-memuse' into maint
* sp/maint-pack-memuse: Correct pack memory leak causing git gc to try to exceed ulimitmaint
commit
bbe99ea8f6
|
@ -1609,6 +1609,7 @@ static void *unpack_delta_entry(struct packed_git *p,
|
|||
off_t base_offset;
|
||||
|
||||
base_offset = get_delta_base(p, w_curs, &curpos, *type, obj_offset);
|
||||
unuse_pack(w_curs);
|
||||
base = cache_or_unpack_entry(p, base_offset, &base_size, type, 0);
|
||||
if (!base)
|
||||
die("failed to read delta base object"
|
||||
|
|
Loading…
Reference in New Issue