Skip to content

Commit

Permalink
Merge branch 'tr/unpack-entry-use-after-free-fix'
Browse files Browse the repository at this point in the history
* tr/unpack-entry-use-after-free-fix:
  unpack_entry: avoid freeing objects in base cache
  • Loading branch information
Junio C Hamano committed May 3, 2013
2 parents 1c93768 + 756a042 commit 7c2e8fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sha1_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -2128,7 +2128,6 @@ void *unpack_entry(struct packed_git *p, off_t obj_offset,
error("failed to unpack compressed delta "
"at offset %"PRIuMAX" from %s",
(uintmax_t)curpos, p->pack_name);
free(base);
data = NULL;
continue;
}
Expand Down

0 comments on commit 7c2e8fc

Please sign in to comment.