tests: don't crash when security context is not available

Fixes #3952
This commit is contained in:
Wim Taymans 2024-04-15 16:41:03 +02:00
parent b97c6e2eac
commit 6499b8572e

View file

@ -116,7 +116,8 @@ static void test_create(void)
roundtrip(core, loop);
spa_assert_se(info.sec != NULL);
if (info.sec == NULL)
goto cleanup;
res = mkstemp(temp);
spa_assert_se(res >= 0);