Skip to content

Commit efb1beb

Browse files
authored
Merge pull request #11221 from jjhursey/v5-cp-11199
v5: Fix missing lock release in oshmem_proc_group_create
2 parents c726177 + 3d9abd2 commit efb1beb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

oshmem/proc/proc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ oshmem_group_t* oshmem_proc_group_create(int pe_start, int pe_stride, int pe_siz
212212
/* allocate an array */
213213
group->proc_vpids = (opal_vpid_t *) malloc(pe_size * sizeof(group->proc_vpids[0]));
214214
if (NULL == group->proc_vpids) {
215+
OPAL_THREAD_UNLOCK(&oshmem_proc_lock);
215216
return NULL;
216217
}
217218

0 commit comments

Comments
 (0)