My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19517fb
)
sequencer.c: plug mem leak in git_sequencer_config
author
Stefan Beller
<sbeller@google.com>
Fri, 1 Jun 2018 20:01:46 +0000
(13:01 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 25 Jun 2018 20:10:09 +0000
(13:10 -0700)
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c
patch
|
blob
|
history
diff --git
a/sequencer.c
b/sequencer.c
index
ae6f2c2
..
9bdfd26
100644
(file)
--- a/
sequencer.c
+++ b/
sequencer.c
@@
-174,6
+174,7
@@
static int git_sequencer_config(const char *k, const char *v, void *cb)
warning(_("invalid commit message cleanup mode '%s'"),
s);
+ free((char *)s);
return status;
}