diff --git a/lang/mcache/mcache.go b/lang/mcache/mcache.go index 600427a..402bfb6 100644 --- a/lang/mcache/mcache.go +++ b/lang/mcache/mcache.go @@ -63,7 +63,7 @@ func Malloc(size int, capacity ...int) []byte { c = capacity[0] } if c > maxCachedSize { - return make([]byte, size, c) + return dirtmake.Bytes(size, c) } sizeIdx := calcIndex(c)