From fd87bbf7f74afaa5f60e5bb783e341bef91f3b87 Mon Sep 17 00:00:00 2001 From: Autumn Date: Sun, 23 Aug 2026 18:31:17 +0100 Subject: [build] added debug sanitization support --- todo/open.ha | 1 + 1 file changed, 1 insertion(+) (limited to 'todo/open.ha') diff --git a/todo/open.ha b/todo/open.ha index 7692635..092ea24 100644 --- a/todo/open.ha +++ b/todo/open.ha @@ -16,6 +16,7 @@ export fn open(file: str) ([]str | fs::error) = { // read const todos = strings::fromutf8(todos)!; const todos = strings::split(todos, "\n")!; + defer free(todos); lib::slice_remove_empty(&todos); -- cgit v1.3