diff --git a/orte/tools/orterun/orterun.c b/orte/tools/orterun/orterun.c index 80a91bfa6a..28d94af38e 100644 --- a/orte/tools/orterun/orterun.c +++ b/orte/tools/orterun/orterun.c @@ -1698,6 +1698,7 @@ static int create_app(int argc, char* argv[], free(param); param = strdup(orterun_globals.prefix); } + free(value); } else if (NULL != orterun_globals.prefix) { param = orterun_globals.prefix; } else if (opal_cmd_line_is_taken(&cmd_line, "prefix")){