]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - Source/charon/testcases/job_queue_test.c
- changed allocation behavior
[thirdparty/strongswan.git] / Source / charon / testcases / job_queue_test.c
index a8d266a3770b30adc2df11bb0b726c501abb5da2..25fb830e09500bee3a073ab15d465f3725f92a2f 100644 (file)
@@ -80,7 +80,7 @@ static void test_job_queue_receiver(job_queue_test_t * testinfo)
                job_t *job;
                job = testinfo->job_queue->get(testinfo->job_queue);
                testinfo->tester->assert_true(testinfo->tester,(job->get_type(job) == INITIATE_IKE_SA), "job type check");
-               testinfo->tester->assert_true(testinfo->tester,(job->destroy(job) == SUCCESS), "job destroy call check");
+               job->destroy(job);
        }
 }