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>
This commit is contained in:
parent
0dc95a4d8a
commit
297bdf0791
@ -411,6 +411,7 @@ static void parse_color_fields(const char *s)
|
|||||||
die (_("must end with a color"));
|
die (_("must end with a color"));
|
||||||
|
|
||||||
colorfield[colorfield_nr].hop = TIME_MAX;
|
colorfield[colorfield_nr].hop = TIME_MAX;
|
||||||
|
string_list_clear(&l, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setup_default_color_by_age(void)
|
static void setup_default_color_by_age(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user