fix a couple of errors in r27569
This commit was SVN r27572. The following SVN revision numbers were found above: r27569 --> open-mpi/ompi@f3ce12e71a
Этот коммит содержится в:
родитель
7fb5caea92
Коммит
1400bab466
@ -86,7 +86,9 @@ static int mca_pml_v_component_open(void)
|
||||
V_OUTPUT_VERBOSE(500, "loaded");
|
||||
|
||||
rc = mca_vprotocol_base_open(vprotocol_include_list);
|
||||
free (vprotocol_include_list);
|
||||
if (NULL == vprotocol_include_list) {
|
||||
free (vprotocol_include_list);
|
||||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
@ -28,10 +28,15 @@ int mca_vprotocol_base_open(char *vprotocol_include_list)
|
||||
{
|
||||
OBJ_CONSTRUCT(&mca_vprotocol_base_components_available, opal_list_t);
|
||||
if (NULL == vprotocol_include_list ||
|
||||
mca_vprotocol_base_include_list[0] == 0) {
|
||||
vprotocol_include_list[0] == 0) {
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
mca_vprotocol_base_include_list = strdup (vprotocol_include_list);
|
||||
if (NULL != vprotocol_include_list) {
|
||||
mca_vprotocol_base_include_list = strdup (vprotocol_include_list);
|
||||
} else {
|
||||
mca_vprotocol_base_include_list = NULL;
|
||||
}
|
||||
|
||||
return mca_base_components_open("vprotocol", 0,
|
||||
mca_vprotocol_base_static_components,
|
||||
&mca_vprotocol_base_components_available,
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user