From 6833afddd9fa9b76834cd18ac604340fcaafd47c Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 4 Jun 2024 16:33:45 -0500 Subject: fix memory leak with LILY_INFO calls in passing tests --- lily-test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.1