mirror of
https://github.com/git/git.git
synced 2024-05-28 15:06:11 +02:00
sequencer.c: plug mem leak in git_sequencer_config
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
19517fb964
commit
f40f3c16cd
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue