Skip to content

Commit c62498a

Browse files
committed
btl/tcp: remove reference to just removed tcp_local
Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 368ab4d commit c62498a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

opal/mca/btl/tcp/btl_tcp_component.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -443,10 +443,7 @@ static int mca_btl_tcp_component_close(void)
443443
OBJ_RELEASE(event);
444444
}
445445

446-
if (NULL != mca_btl_tcp_component.tcp_local) {
447-
opal_proc_table_remove_value(&mca_btl_tcp_component.tcp_procs, opal_proc_local_get()->proc_name);
448-
OBJ_RELEASE(mca_btl_tcp_component.tcp_local);
449-
}
446+
opal_proc_table_remove_value(&mca_btl_tcp_component.tcp_procs, opal_proc_local_get()->proc_name);
450447

451448
/* release resources */
452449
OBJ_DESTRUCT(&mca_btl_tcp_component.tcp_procs);

0 commit comments

Comments
 (0)