aboutsummaryrefslogtreecommitdiff
path: root/distamp.ha
diff options
context:
space:
mode:
Diffstat (limited to 'distamp.ha')
-rw-r--r--distamp.ha1
1 files changed, 1 insertions, 0 deletions
diff --git a/distamp.ha b/distamp.ha
index 22f6ec4..9cb65bb 100644
--- a/distamp.ha
+++ b/distamp.ha
@@ -12,6 +12,7 @@ export fn main() void = {
let timestr = os::args[1];
let i = time::now(time::clock::REALTIME);
let spl = strings::split(timestr, ":");
+ defer free(spl);
let li = if (len(spl) > 2) {
fmt::fatal("Duration format: m or m:s");