Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/blame-color'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 18 Jun 2018 17:18:45 +0000
(10:18 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 18 Jun 2018 17:18:45 +0000
(10:18 -0700)
Leakfix.
* sb/blame-color:
blame: release string_list after use in parse_color_fields()
builtin/blame.c
patch
|
blob
|
history
raw
(from parent 1:
23fc55a
)
diff --git
a/builtin/blame.c
b/builtin/blame.c
index 4202584f97922f39f8631e23b01981ed5687b793..3295718841aab1051ee8bdde0b1fc0aa26ae5f00 100644
(file)
--- 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)