From 297bdf0791540fb3e98676a59828dd8a331d6615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Scharfe?= Date: Sat, 9 Jun 2018 13:26:53 +0200 Subject: blame: release string_list after use in parse_color_fields() Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- builtin/blame.c | 1 + 1 file changed, 1 insertion(+) (limited to 'builtin') 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) -- cgit v1.2.3