wt-status: release strbuf after use in wt_longstatus_print_tracking()
commitb6ec3071774fb4eab406e76c29cbf1a5f27929a8
authorRene Scharfe <l.s.r@web.de>
Wed, 30 Aug 2017 18:20:18 +0000 (30 20:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Sep 2017 07:38:57 +0000 (10 16:38 +0900)
tree45cc97b97287f04e266a833125df851c343840fe
parent6f49541ddbcb91a7bd5948f204f56bf5742dd75d
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>
wt-status.c