Merge branch 'tr/unpack-entry-use-after-free-fix'
[git/git.git] / sha1_file.c
index 64228a2..67e815b 100644 (file)
@@ -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;
                }