diff options
| author | Rene Scharfe <l.s.r@web.de> | 2017-08-30 20:20:18 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-09-10 16:38:57 +0900 |
| commit | b6ec3071774fb4eab406e76c29cbf1a5f27929a8 (patch) | |
| tree | 45cc97b97287f04e266a833125df851c343840fe /commit.c | |
| parent | 6f49541ddbcb91a7bd5948f204f56bf5742dd75d (diff) | |
| download | git-b6ec3071774fb4eab406e76c29cbf1a5f27929a8.tar.gz | |
wt-status: release strbuf after use in wt_longstatus_print_tracking()rs/strbuf-leakfix
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 'commit.c')
0 files changed, 0 insertions, 0 deletions
