mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
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"));
|
||||
|
||||
colorfield[colorfield_nr].hop = TIME_MAX;
|
||||
string_list_clear(&l, 0);
|
||||
}
|
||||
|
||||
static void setup_default_color_by_age(void)
|
||||
|
|
Loading…
Reference in a new issue