Take out a couple of free's.
This commit fixes trac:1343 This commit was SVN r18645. The following Trac tickets were found above: Ticket 1343 --> https://svn.open-mpi.org/trac/ompi/ticket/1343
Этот коммит содержится в:
родитель
d61fe87d04
Коммит
53d83ba1c5
@ -1568,13 +1568,11 @@ static int create_app(int argc, char* argv[], orte_app_context_t **app_ptr,
|
|||||||
if (0 == param_len) {
|
if (0 == param_len) {
|
||||||
orte_show_help("help-orterun.txt", "orterun:empty-prefix",
|
orte_show_help("help-orterun.txt", "orterun:empty-prefix",
|
||||||
true, orterun_basename, orterun_basename);
|
true, orterun_basename, orterun_basename);
|
||||||
free(param);
|
|
||||||
return ORTE_ERR_FATAL;
|
return ORTE_ERR_FATAL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
app->prefix_dir = strdup(param);
|
app->prefix_dir = strdup(param);
|
||||||
free(param);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user