summaryrefslogtreecommitdiff
path: root/lib/bio/mem.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bio/mem.myr')
-rw-r--r--lib/bio/mem.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bio/mem.myr b/lib/bio/mem.myr
index bf89912..bebae73 100644
--- a/lib/bio/mem.myr
+++ b/lib/bio/mem.myr
@@ -22,7 +22,7 @@ const mkmem = {buf
.read = {buf; -> memread(mem, buf)},
.write = {buf; -> memwrite(mem, buf)},
.seek = {off; -> memseek(mem, off)},
- .close = {; std.free(mem)},
+ .close = {; std.free(mem); -> true},
])
}