mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
Merge branch 'sb/blame-color'
Leakfix. * sb/blame-color: blame: release string_list after use in parse_color_fields()
This commit is contained in:
commit
698eb031bb
|
@ -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 a new issue