diff options
author | René Scharfe <l.s.r@web.de> | 2017-08-10 11:42:10 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-10 15:40:55 -0700 |
commit | 83cd6f901762f7358c0b249d8e7efd5476ab66d4 (patch) | |
tree | 6745b6104761f0c433085d5189370b330b163bc9 /t/test-lib-functions.sh | |
parent | Git 2.12.4 (diff) | |
download | tgif-83cd6f901762f7358c0b249d8e7efd5476ab66d4.tar.xz |
fsck: free buffers on error in fsck_obj()
Move the code for releasing tree buffers and commit buffers in
fsck_obj() to the end of the function and make sure it's executed no
matter of an error is encountered or not.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib-functions.sh')
0 files changed, 0 insertions, 0 deletions