diff options
author | Rene Scharfe <l.s.r@web.de> | 2017-08-30 20:20:17 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-07 08:49:29 +0900 |
commit | 6f49541ddbcb91a7bd5948f204f56bf5742dd75d (patch) | |
tree | 4e6ffbc6c888b439fe110a107a435c21145c4c3f /wt-status.c | |
parent | 9f00492161f5f5ff90395c3b3e11137a87a1562d (diff) | |
download | git-6f49541ddbcb91a7bd5948f204f56bf5742dd75d.tar.gz |
wt-status: release strbuf after use in read_rebase_todolist()
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.c')
-rw-r--r-- | wt-status.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wt-status.c b/wt-status.c index 77c27c5113..cafafb5ecd 100644 --- a/wt-status.c +++ b/wt-status.c @@ -1193,6 +1193,7 @@ static int read_rebase_todolist(const char *fname, struct string_list *lines) string_list_append(lines, line.buf); } fclose(f); + strbuf_release(&line); return 0; } |