mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix memory leaks (#1378)
* Fix memory leaks Fixed memory leaks in: buffers, basic, and vectors * Formatting fixes Co-authored-by: oramirez <oramirez@qti.qualcomm.com>
This commit is contained in:
committed by
GitHub
parent
51c6d97d2f
commit
06415f8b79
@@ -172,6 +172,8 @@ int test_step_internal(cl_device_id deviceID, cl_context context,
|
||||
destroyClState(pClState);
|
||||
return -1;
|
||||
}
|
||||
|
||||
clStateDestroyProgramAndKernel(pClState);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user