diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2011-07-07 12:23:56 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-07-07 09:37:21 -0700 |
commit | 159607a8f1ad16c0a04e0f17d5f8a35299696bc6 (patch) | |
tree | 3d086f72b77099b81f302273fe00e6f04d884fb2 /t/t4116-apply-reverse.sh | |
parent | xdiff/xprepare: use memset() (diff) | |
download | tgif-159607a8f1ad16c0a04e0f17d5f8a35299696bc6.tar.xz |
xdiff/xprepare: refactor abort cleanups
Group free()'s that are called when a malloc() fails in
xdl_prepare_ctx(), making for more readable code.
Also add a free() on ha, in case future git hackers add allocs after the
ha malloc.
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4116-apply-reverse.sh')
0 files changed, 0 insertions, 0 deletions