diff options
author | René Scharfe <l.s.r@web.de> | 2017-02-25 11:02:28 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-27 11:00:30 -0800 |
commit | 886ddf4777d119f0a420bdf55fba834c16c58069 (patch) | |
tree | 296215f46527ab3af2f4a289fc7b7dd3840497e5 /git-gui/lib/tools.tcl | |
parent | preparing for 2.10.3 (diff) | |
download | tgif-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 'git-gui/lib/tools.tcl')
0 files changed, 0 insertions, 0 deletions