summaryrefslogtreecommitdiff
path: root/builtin/fast-export.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2010-08-09 22:32:11 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-08-11 09:58:38 -0700
commitb6b56aceb85fe05dc681ac7ee1249e6b6e26e957 (patch)
treece5d371dceacde2e2f3d686669c8127c6d83c319 /builtin/fast-export.c
parentread-tree: stop leaking tree objects (diff)
downloadtgif-b6b56aceb85fe05dc681ac7ee1249e6b6e26e957.tar.xz
write-tree: Avoid leak when index refers to an invalid object
Noticed by valgrind during test t0000.35 “writing this tree without --missing-ok”. Even in the cherry-pick foo..bar code path, such an error is the end of the line. But maybe some day an interactive porcelain will want to link to libgit, making this matter. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fast-export.c')
0 files changed, 0 insertions, 0 deletions