Skip to content

Commit

Permalink
pml_ucx: fix return code from mca_pml_ucx_init()
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefe committed Oct 10, 2018
1 parent 4763822 commit d3da92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ompi/mca/pml/ucx/pml_ucx.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ int mca_pml_ucx_init(void)
PML_UCX_VERBOSE(2, "created ucp context %p, worker %p",
(void *)ompi_pml_ucx.ucp_context,
(void *)ompi_pml_ucx.ucp_worker);
return OMPI_SUCCESS;
return rc;

err_destroy_worker:
ucp_worker_destroy(ompi_pml_ucx.ucp_worker);
Expand Down

0 comments on commit d3da92c

Please sign in to comment.