Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
notes: release strbuf after use in notes_copy_from_stdin()
author
Rene Scharfe
<l.s.r@web.de>
Wed, 30 Aug 2017 17:57:30 +0000
(19:57 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 6 Sep 2017 23:49:28 +0000
(08:49 +0900)
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/notes.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
814c4b3
)
diff --git
a/builtin/notes.c
b/builtin/notes.c
index 4303848e044c9f9c6a12236d887a521316b4fc05..8e54f2d14648bcf41369e71c2f7f586322c702ef 100644
(file)
--- 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;
}