Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
check-ref-format: release strbuf after use in check_ref_format_branch()
[gitweb.git]
/
strbuf.h
diff --git
a/strbuf.h
b/strbuf.h
index 2075384e0b2df97a6d113acebcbcdcc853237166..e705b94db55578aabb2063f7364220978cea5a40 100644
(file)
--- a/
strbuf.h
+++ b/
strbuf.h
@@
-68,7
+68,7
@@
struct strbuf {
};
extern char strbuf_slopbuf[];
-#define STRBUF_INIT {
0, 0,
strbuf_slopbuf }
+#define STRBUF_INIT {
.alloc = 0, .len = 0, .buf =
strbuf_slopbuf }
/**
* Life Cycle Functions