diff --git a/dpctl-capi/tests/test_sycl_program_interface.cpp b/dpctl-capi/tests/test_sycl_program_interface.cpp index a0e20edcc4..c4fae9629e 100644 --- a/dpctl-capi/tests/test_sycl_program_interface.cpp +++ b/dpctl-capi/tests/test_sycl_program_interface.cpp @@ -98,7 +98,6 @@ TEST_P(TestDPCTLSyclProgramInterface, Chk_CreateFromSpirv) ASSERT_TRUE(PRef != nullptr); ASSERT_TRUE(DPCTLProgram_HasKernel(PRef, "add")); ASSERT_TRUE(DPCTLProgram_HasKernel(PRef, "axpy")); - DPCTLProgram_Delete(PRef); } TEST_P(TestDPCTLSyclProgramInterface, Chk_GetKernel)