summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-02-25 11:02:28 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-27 11:00:30 -0800
commit886ddf4777d119f0a420bdf55fba834c16c58069 (patch)
tree296215f46527ab3af2f4a289fc7b7dd3840497e5 /Makefile
parentpreparing for 2.10.3 (diff)
downloadtgif-886ddf4777d119f0a420bdf55fba834c16c58069.tar.xz
sha1_file: release fallback base's memory in unpack_entry()
If a pack entry that's used as a delta base is corrupt, unpack_entry() marks it as unusable and then searches the object again in the hope that it can be found in another pack or in a loose file. The memory for this external base object is never released. Free it after use. Signed-off-by: Rene Scharfe <l.s.r@web.de> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions