diff --git a/libsemanage/tests/test_utilities.c b/libsemanage/tests/test_utilities.c index ba995b5a..fa3a077f 100644 --- a/libsemanage/tests/test_utilities.c +++ b/libsemanage/tests/test_utilities.c @@ -142,6 +142,7 @@ void test_semanage_split_on_space(void) if (!str) { CU_FAIL ("semanage_split_on_space: unable to perform test, no memory"); + return; } temp = semanage_split_on_space(str); CU_ASSERT_STRING_EQUAL(temp, "bar baz");