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.
2 parents 4f5e96d + c864ca5 commit 8535dd5Copy full SHA for 8535dd5
ompi/mca/pml/ucx/pml_ucx.c
@@ -314,8 +314,8 @@ int mca_pml_ucx_init(int enable_mpi_threads)
314
315
err_destroy_worker:
316
ucp_worker_destroy(ompi_pml_ucx.ucp_worker);
317
- ompi_pml_ucx.ucp_worker = NULL;
318
err:
+ ompi_pml_ucx.ucp_worker = NULL;
319
return rc;
320
}
321
@@ -345,7 +345,7 @@ int mca_pml_ucx_cleanup(void)
345
OBJ_DESTRUCT(&ompi_pml_ucx.convs);
346
OBJ_DESTRUCT(&ompi_pml_ucx.persistent_reqs);
347
348
- if (ompi_pml_ucx.ucp_worker) {
+ if (ompi_pml_ucx.ucp_worker != NULL) {
349
350
ompi_pml_ucx.ucp_worker = NULL;
351
0 commit comments