diff --git a/orte/mca/ess/slurmd/ess_slurmd_module.c b/orte/mca/ess/slurmd/ess_slurmd_module.c index a0474a58b0..f21b10e140 100644 --- a/orte/mca/ess/slurmd/ess_slurmd_module.c +++ b/orte/mca/ess/slurmd/ess_slurmd_module.c @@ -168,7 +168,7 @@ static int rte_init(void) } asprintf(&envar, "%s=%s", cs_env, string_key); putenv(envar); - free(envar); + /* cannot free the envar as that messes of our environ */ free(cs_env); free(string_key);