diff options
| author | Autumn | 2026-08-23 18:31:17 +0100 |
|---|---|---|
| committer | Autumn | 2026-08-23 18:31:17 +0100 |
| commit | fd87bbf7f74afaa5f60e5bb783e341bef91f3b87 (patch) | |
| tree | c6d4d0a65515544f8ecef8f3f9d6f3ca85ab8362 /todo | |
| parent | a4bb8fb6a067dfc3f7126d535ccf320be80e81a8 (diff) | |
[build] added debug sanitization support
Diffstat (limited to 'todo')
| -rw-r--r-- | todo/open.ha | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
