Skip to content

Commit ae3974d

Browse files
committed
Add missing free call to mca_btl_tcp_component_exchange
Signed-off-by: Joseph Schuchart <schuchart@hlrs.de>
1 parent 950e080 commit ae3974d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opal/mca/btl/tcp/btl_tcp_component.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,7 @@ static int mca_btl_tcp_component_exchange(void)
12341234
opal_net_get_hostname(addr));
12351235
} else {
12361236
BTL_ERROR(("Unexpected address family: %d", addr->sa_family));
1237+
free(addrs);
12371238
return OPAL_ERR_BAD_PARAM;
12381239
}
12391240

0 commit comments

Comments
 (0)