diff --git a/ompi/mca/osc/ucx/osc_ucx_comm.c b/ompi/mca/osc/ucx/osc_ucx_comm.c index 134b6d885c5..c827766a7a3 100644 --- a/ompi/mca/osc/ucx/osc_ucx_comm.c +++ b/ompi/mca/osc/ucx/osc_ucx_comm.c @@ -358,7 +358,9 @@ static inline int get_dynamic_win_info(uint64_t remote_addr, free(temp_buf); /* unlock the dynamic lock */ - return ompi_osc_ucx_dynamic_unlock(module, target); + ompi_osc_ucx_dynamic_unlock(module, target); + + return ret; } static inline