OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
814c4b3
)
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
diff --git
a/builtin/notes.c
b/builtin/notes.c
index
4303848
..
8e54f2d
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;
}