summaryrefslogtreecommitdiff
path: root/libstd/strbuf.myr
diff options
context:
space:
mode:
Diffstat (limited to 'libstd/strbuf.myr')
-rw-r--r--libstd/strbuf.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstd/strbuf.myr b/libstd/strbuf.myr
index beca30e..47de02e 100644
--- a/libstd/strbuf.myr
+++ b/libstd/strbuf.myr
@@ -34,6 +34,7 @@ const mksb = {
const mkbufsb = {buf
var sb
+
sb = zalloc()
sb.buf = buf
sb.fixed = true