From 836b3b6bcfec69cab5020229131784ae7fba86e7 Mon Sep 17 00:00:00 2001 From: brarcher Date: Tue, 17 Dec 2013 22:12:26 +0000 Subject: [PATCH] check_check_fixture: free suite runners when finished git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@896 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- tests/check_check_fixture.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/check_check_fixture.c b/tests/check_check_fixture.c index b002fd1..ccfcd60 100644 --- a/tests/check_check_fixture.c +++ b/tests/check_check_fixture.c @@ -220,6 +220,7 @@ START_TEST(test_ch_setup_fail_nofork) "Test run counts not correct for checked setup failure"); ck_assert_msg (srunner_ntests_failed(sr) == 1, "Failure counts not correct for checked setup failure"); + srunner_free(sr); } END_TEST @@ -243,6 +244,7 @@ START_TEST(test_ch_setup_fail_nofork_2) "Test run counts not correct for checked setup failure"); ck_assert_msg (srunner_ntests_failed(sr) == 1, "Failure counts not correct for checked setup failure"); + srunner_free(sr); } END_TEST @@ -271,6 +273,7 @@ START_TEST(test_ch_setup_pass_nofork) "Test run counts not correct for checked setup failure"); ck_assert_msg (srunner_ntests_failed(sr) == 0, "Failure counts not correct for checked setup failure"); + srunner_free(sr); } END_TEST @@ -318,6 +321,7 @@ START_TEST(test_ch_setup_sig) ck_abort_msg (errm); } free(trm); + srunner_free(sr); } END_TEST @@ -461,6 +465,7 @@ START_TEST(test_ch_teardown_sig) ck_abort_msg (errm); } free(trm); + srunner_free(sr); } END_TEST -- 2.40.0