From: René Scharfe Date: Sat, 9 Jun 2018 11:26:53 +0000 (+0200) Subject: blame: release string_list after use in parse_color_fields() X-Git-Tag: v2.18.0~14^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/297bdf0791540fb3e98676a59828dd8a331d6615?ds=inline;hp=--cc blame: release string_list after use in parse_color_fields() Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- 297bdf0791540fb3e98676a59828dd8a331d6615 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)