Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ks/test-readme-phrasofix'
[gitweb.git]
/
builtin
/
check-ref-format.c
diff --git
a/builtin/check-ref-format.c
b/builtin/check-ref-format.c
index eac499450f63554387fb8b32ef5780c32ded4a21..6c40ff110bee7387d4eb4e9c7c04a21e8b12ca44 100644
(file)
--- a/
builtin/check-ref-format.c
+++ b/
builtin/check-ref-format.c
@@
-45,6
+45,7
@@
static int check_ref_format_branch(const char *arg)
if (strbuf_check_branch_ref(&sb, arg))
die("'%s' is not a valid branch name", arg);
printf("%s\n", sb.buf + 11);
+ strbuf_release(&sb);
return 0;
}