Some small leak cleanups
cmr=v1.8.3:reviewer=artpol This commit was SVN r32358.
Этот коммит содержится в:
родитель
309d75dadc
Коммит
5db717f090
@ -736,6 +736,7 @@ static int component_set_addr(orte_process_name_t *peer,
|
|||||||
opal_output_verbose(OOB_TCP_DEBUG_CONNECT, orte_oob_base_framework.framework_output,
|
opal_output_verbose(OOB_TCP_DEBUG_CONNECT, orte_oob_base_framework.framework_output,
|
||||||
"FORMAT ERROR IN ADDR: %s",
|
"FORMAT ERROR IN ADDR: %s",
|
||||||
(NULL == host) ? "NULL" : "ZERO LENGTH");
|
(NULL == host) ? "NULL" : "ZERO LENGTH");
|
||||||
|
free(tcpuri);
|
||||||
return ORTE_ERR_BAD_PARAM;
|
return ORTE_ERR_BAD_PARAM;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -793,6 +794,8 @@ static int component_set_addr(orte_process_name_t *peer,
|
|||||||
mca_oob_tcp_module.api.set_peer(peer, af_family, host, ports);
|
mca_oob_tcp_module.api.set_peer(peer, af_family, host, ports);
|
||||||
found = true;
|
found = true;
|
||||||
}
|
}
|
||||||
|
opal_argv_free(addrs);
|
||||||
|
free(tcpuri);
|
||||||
}
|
}
|
||||||
if (found) {
|
if (found) {
|
||||||
/* indicate that this peer is addressable by this component */
|
/* indicate that this peer is addressable by this component */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user