1. Stefan Saasen
  2. git

Commits

Junio C Hamano  committed bbe99ea Merge

Merge branch 'sp/maint-pack-memuse' into maint

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

  • Participants
  • Parent commits 614de95, eac12e2
  • Branches master

Comments (0)

Files changed (1)

File sha1_file.c

View file
  • Ignore whitespace
 	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"