git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
0dc95a4
)
blame: release string_list after use in parse_color_fields()
author
René Scharfe
<redacted>
Sat, 9 Jun 2018 11:26:53 +0000
(13:26 +0200)
committer
Junio C Hamano
<redacted>
Thu, 14 Jun 2018 15:59:36 +0000
(08:59 -0700)
Signed-off-by: Rene Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/blame.c
patch
|
blob
|
history
diff --git
a/builtin/blame.c
b/builtin/blame.c
index f95aac746872af820a6c69596207620b80e5793c..dc7870a56172b6aedd15df5a3dd21485442c1077 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)
git clone https://git.99rst.org/PROJECT