mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +00:00
Release some dangling objects in userevents. (#837)
This commit is contained in:
@@ -207,6 +207,10 @@ int test_userevents( cl_device_id deviceID, cl_context context, cl_command_queue
|
|||||||
log_info("Unsuccessful user event case passed.\n");
|
log_info("Unsuccessful user event case passed.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clReleaseKernel(k0);
|
||||||
|
clReleaseProgram(program);
|
||||||
|
clReleaseMemObject(output);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user