aboutsummaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorRene Scharfe <l.s.r@web.de>2017-08-30 20:20:18 +0200
committerJunio C Hamano <gitster@pobox.com>2017-09-10 16:38:57 +0900
commitb6ec3071774fb4eab406e76c29cbf1a5f27929a8 (patch)
tree45cc97b97287f04e266a833125df851c343840fe /refs.c
parent6f49541ddbcb91a7bd5948f204f56bf5742dd75d (diff)
downloadgit-b6ec3071774fb4eab406e76c29cbf1a5f27929a8.tar.gz
git-b6ec3071774fb4eab406e76c29cbf1a5f27929a8.tar.xz
wt-status: release strbuf after use in wt_longstatus_print_tracking()
If format_tracking_info() returns 0, then it didn't touch its strbuf parameter, so it's OK to exit early in that case. Clean up sb in the other case. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
0 files changed, 0 insertions, 0 deletions