We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b12096 commit f723b2fCopy full SHA for f723b2f
src/acl_mem.cpp
@@ -4169,6 +4169,7 @@ ACL_EXPORT CL_API_ENTRY cl_int CL_API_CALL clEnqueueMigrateMemObjectsIntelFPGA(
4169
num_mem_objects * sizeof(acl_mem_migrate_wrapper_t));
4170
4171
if (!new_src_mem_list) {
4172
+ free(needs_release_on_fail);
4173
return CL_OUT_OF_RESOURCES;
4174
}
4175
@@ -4179,6 +4180,7 @@ ACL_EXPORT CL_API_ENTRY cl_int CL_API_CALL clEnqueueMigrateMemObjectsIntelFPGA(
4179
4180
4181
4182
if (!local_event->cmd.info.memory_migration.src_mem_list) {
4183
4184
4185
4186
0 commit comments