Skip to content

Commit 2c5429d

Browse files
author
David Wootton
committed
Fixing missing lock release in mca_pml_ob1_record_htod_event
Coverity CID 1515766 Signed-off-by: David Wootton <[email protected]>
1 parent 219956d commit 2c5429d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ompi/mca/pml/ob1/pml_ob1_accelerator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ int mca_pml_ob1_record_htod_event(char *msg, struct mca_btl_base_descriptor_t *f
9090
if (accelerator_event_htod_num_used == accelerator_event_max) {
9191
opal_output_verbose(1, mca_pml_ob1_output, "Out of event handles. Max: %d. Suggested to rerun with new max with --mca mpi_common_accelerator_event_max %d.",
9292
accelerator_event_max, accelerator_event_max + 100);
93+
OPAL_THREAD_UNLOCK(&pml_ob1_accelerator_htod_lock);
9394
return OPAL_ERR_OUT_OF_RESOURCE;
9495
}
9596

0 commit comments

Comments
 (0)