summaryrefslogtreecommitdiff
path: root/lily-test.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2024-06-04 16:33:45 -0500
committersanine <sanine.not@pm.me>2024-06-04 16:33:45 -0500
commit6833afddd9fa9b76834cd18ac604340fcaafd47c (patch)
tree14ff87133651830e9006cad8d0e19215562996f0 /lily-test.h
parentad4c15b51d741d685ed13a5ec09f01aed08a8161 (diff)
fix memory leak with LILY_INFO calls in passing tests
Diffstat (limited to 'lily-test.h')
-rw-r--r--lily-test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lily-test.h b/lily-test.h
index 062631b..4153722 100644
--- a/lily-test.h
+++ b/lily-test.h
@@ -288,8 +288,8 @@ void lily_run_test(void (*test)())
printf(" %s\n [%s]\n\n", n->msg, n->location);
n = n->next;
}
- lily_msg_destroy(lily_g.HEAD.next);
}
+ lily_msg_destroy(lily_g.HEAD.next);
}