Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/check-ref-format-oor'
[gitweb.git]
/
builtin
/
check-ref-format.c
diff --git
a/builtin/check-ref-format.c
b/builtin/check-ref-format.c
index 737e5ecba3158cc133dacf0dc90409070aa955fa..bc67d3f0a83d35b2fc6d81f28c6908075564644a 100644
(file)
--- a/
builtin/check-ref-format.c
+++ b/
builtin/check-ref-format.c
@@
-47,6
+47,7
@@
static int check_ref_format_branch(const char *arg)
!skip_prefix(sb.buf, "refs/heads/", &name))
die("'%s' is not a valid branch name", arg);
printf("%s\n", name);
+ strbuf_release(&sb);
return 0;
}