diff --git a/opal/mca/btl/tcp/btl_tcp_component.c b/opal/mca/btl/tcp/btl_tcp_component.c index a979a0f8e7..4b9711531b 100644 --- a/opal/mca/btl/tcp/btl_tcp_component.c +++ b/opal/mca/btl/tcp/btl_tcp_component.c @@ -443,10 +443,7 @@ static int mca_btl_tcp_component_close(void) OBJ_RELEASE(event); } - if (NULL != mca_btl_tcp_component.tcp_local) { - opal_proc_table_remove_value(&mca_btl_tcp_component.tcp_procs, opal_proc_local_get()->proc_name); - OBJ_RELEASE(mca_btl_tcp_component.tcp_local); - } + opal_proc_table_remove_value(&mca_btl_tcp_component.tcp_procs, opal_proc_local_get()->proc_name); /* release resources */ OBJ_DESTRUCT(&mca_btl_tcp_component.tcp_procs);