Fix missing check
Этот коммит содержится в:
родитель
fe0c995f6b
Коммит
169c44258d
@ -369,7 +369,8 @@ int orte_register_params(void)
|
||||
MCA_BASE_VAR_TYPE_STRING, NULL, 0, 0,
|
||||
OPAL_INFO_LVL_9, MCA_BASE_VAR_SCOPE_READONLY,
|
||||
&orte_default_dash_host);
|
||||
if (0 == strcmp(orte_default_dash_host, "none")) {
|
||||
if (NULL != orte_default_dash_host &&
|
||||
0 == strcmp(orte_default_dash_host, "none")) {
|
||||
free(orte_default_dash_host);
|
||||
orte_default_dash_host = NULL;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user