diff options
author | René Scharfe <l.s.r@web.de> | 2018-06-09 13:26:53 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-14 08:59:36 -0700 |
commit | 297bdf0791540fb3e98676a59828dd8a331d6615 (patch) | |
tree | 615f5b11b698c7b69a00f63ce9807d0512ca0f57 /builtin | |
parent | builtin/blame: add new coloring scheme config (diff) | |
download | tgif-297bdf0791540fb3e98676a59828dd8a331d6615.tar.xz |
blame: release string_list after use in parse_color_fields()
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/blame.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/blame.c b/builtin/blame.c index f95aac7468..dc7870a561 100644 --- a/builtin/blame.c +++ b/builtin/blame.c @@ -411,6 +411,7 @@ static void parse_color_fields(const char *s) die (_("must end with a color")); colorfield[colorfield_nr].hop = TIME_MAX; + string_list_clear(&l, 0); } static void setup_default_color_by_age(void) |