From bee33714724d70eab1956f8ef90be8e2c9d9b2cc Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Tue, 20 Jan 2026 23:53:42 +0100 Subject: tests: update ls_test --- tests/ls_test.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/ls_test.h b/tests/ls_test.h index a2a6f2a..ab834b0 100644 --- a/tests/ls_test.h +++ b/tests/ls_test.h @@ -1,9 +1,8 @@ -#pragma once - /* Lion's Standard (LS) test harness. * * Version: 1.0 - * Repo: https://github.com/lionkor/ls_test + * Website: https://libls.org + * Repo: https://github.com/libls/test * SPDX-License-Identifier: MIT * * ==== TABLE OF CONTENTS ==== @@ -54,7 +53,7 @@ * * The MIT License (MIT) * - * Copyright (c) 2026 Lion Kortlepel + * Copyright (c) 2026 Lion Kortlepel * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the “Software”), to deal @@ -74,6 +73,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ +#pragma once #include @@ -278,6 +278,7 @@ static int ls_test_main(int argc, char** argv) { end: fprintf(stderr, "%d succeeded, %d failed, %d total\n", lst_ok, lst_fail, lst_ok + lst_fail); + free(lst_funcs); if (lst_fail > 0) { return 1; -- cgit