ed

[hare] The standard editor
Log | Files | Refs | README | LICENSE

commit e4d4906151fcd3ac22024672822d2facd25a7e6a
parent d96b3d1bdccaee8a62716e706bd722d0df5d86c4
Author: Byron Torres <b@torresjrjr.com>
Date:   Sun, 19 Feb 2023 18:17:52 +0000

rm free

Diffstat:
Mbuffer.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buffer.ha b/buffer.ha @@ -46,7 +46,7 @@ fn buf_read(buf: *buffer, src: io::handle, a: size) (size, size) = { // TODO: don't call this here, call it at a higher level // buf_wipetrash(buf); - let ls: []*line = []; defer free(ls); + let ls: []*line = []; let sz = 0z; for (true) { const bytes = match (bufio::scanline(src)) {