summaryrefslogtreecommitdiff
path: root/builtin/update-server-info.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-12-16 15:37:10 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-16 17:22:33 -0800
commitdee839a26331a67f5018e10edb158bdb550d3a32 (patch)
treebff7ef471489c058a03a464baa93a339dcb82434 /builtin/update-server-info.c
parentThe third batch (diff)
downloadtgif-dee839a26331a67f5018e10edb158bdb550d3a32.tar.xz
format-patch: mark rev_info with UNLEAK
The comand uses a single instance of rev_info on stack, makes a single revision traversal and exit. Mark the resources held by the rev_info structure with UNLEAK(). We do not do this at lower level in revision.c or cmd_log_walk(), as a new caller of the revision traversal API can make unbounded number of rev_info during a single run, and UNLEAK() would not a be suitable mechanism to deal with such a caller. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/update-server-info.c')
0 files changed, 0 insertions, 0 deletions