diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-05-04 00:18:04 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-04 00:18:04 +0200 |
commit | 7c2e8fc68469d374c8fd460a9342449642b4c8bc (patch) | |
tree | 8a141059e018d889d16daa1f0e295e8e04cb1e29 /sha1_file.c | |
parent | Sync with maint (diff) | |
parent | unpack_entry: avoid freeing objects in base cache (diff) | |
download | git-7c2e8fc68469d374c8fd460a9342449642b4c8bc.tar.xz git-7c2e8fc68469d374c8fd460a9342449642b4c8bc.zip |
Merge branch 'tr/unpack-entry-use-after-free-fix'
* tr/unpack-entry-use-after-free-fix:
unpack_entry: avoid freeing objects in base cache
Diffstat (limited to 'sha1_file.c')
-rw-r--r-- | sha1_file.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c index 64228a26d0..67e815b2db 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -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; } |