Skip to content

Commit 7c2e8fc

Browse files
committed
Merge branch 'tr/unpack-entry-use-after-free-fix'
* tr/unpack-entry-use-after-free-fix: unpack_entry: avoid freeing objects in base cache
2 parents 1c93768 + 756a042 commit 7c2e8fc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sha1_file.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2128,7 +2128,6 @@ void *unpack_entry(struct packed_git *p, off_t obj_offset,
21282128
error("failed to unpack compressed delta "
21292129
"at offset %"PRIuMAX" from %s",
21302130
(uintmax_t)curpos, p->pack_name);
2131-
free(base);
21322131
data = NULL;
21332132
continue;
21342133
}

0 commit comments

Comments
 (0)