From c78531ce8a09504c67d529f6bb217c68583d8923 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Fri, 29 Apr 2011 08:50:29 +0000 Subject: [PATCH] Don't free the envar that gets putenv'd as that messes up the environ This commit was SVN r24660. --- orte/mca/ess/slurmd/ess_slurmd_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);