diff options
author | Rene Scharfe <l.s.r@web.de> | 2017-08-30 20:57:30 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-07 02:49:28 +0300 |
commit | 1f3992f4be09d47dd45af253743ac233c21f7986 (patch) | |
tree | 35d8980484228bd3115ce00997cce6c9c087081b /builtin/notes.c | |
parent | 814c4b374710c297e8538916814483b2098593c4 (diff) |
notes: release strbuf after use in notes_copy_from_stdin()
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/notes.c')
-rw-r--r-- | builtin/notes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/notes.c b/builtin/notes.c index 4303848e04..8e54f2d146 100644 --- a/builtin/notes.c +++ b/builtin/notes.c @@ -328,6 +328,7 @@ static int notes_copy_from_stdin(int force, const char *rewrite_cmd) } else { finish_copy_notes_for_rewrite(c, msg); } + strbuf_release(&buf); return ret; } |