Fix some minor memory leaks
This commit was SVN r25410.
Этот коммит содержится в:
родитель
308b88e1a7
Коммит
4fe26b0392
@ -104,6 +104,7 @@ int opal_hwloc_base_open(void)
|
|||||||
true, hostname, getpid(), str_value);
|
true, hostname, getpid(), str_value);
|
||||||
return OPAL_ERR_BAD_PARAM;
|
return OPAL_ERR_BAD_PARAM;
|
||||||
}
|
}
|
||||||
|
free(str_value);
|
||||||
|
|
||||||
/* hwloc_base_bind_failure_action */
|
/* hwloc_base_bind_failure_action */
|
||||||
switch (opal_hwloc_base_mbfa) {
|
switch (opal_hwloc_base_mbfa) {
|
||||||
@ -128,6 +129,7 @@ int opal_hwloc_base_open(void)
|
|||||||
true, hostname, getpid(), str_value);
|
true, hostname, getpid(), str_value);
|
||||||
return OPAL_ERR_BAD_PARAM;
|
return OPAL_ERR_BAD_PARAM;
|
||||||
}
|
}
|
||||||
|
free(str_value);
|
||||||
|
|
||||||
/* cpu allocation specification */
|
/* cpu allocation specification */
|
||||||
mca_base_param_reg_string_name("hwloc", "base_cpu_set",
|
mca_base_param_reg_string_name("hwloc", "base_cpu_set",
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user