Skip to content
Snippets Groups Projects
Commit e0c17c2f authored by Moe Jette's avatar Moe Jette
Browse files

fix memory leak in slurmctld for bluegene systems

parent 1aa78e7c
No related branches found
No related tags found
No related merge requests found
......@@ -1237,6 +1237,7 @@ static char **_build_env(struct job_record *job_ptr)
select_g_select_jobinfo_get(job_ptr->select_jobinfo,
SELECT_JOBDATA_BLOCK_ID, &name);
setenvf(&my_env, "MPIRUN_PARTITION", "%s", name);
xfree(name);
#endif
setenvf(&my_env, "SLURM_JOB_ACCOUNT", "%s", job_ptr->account);
if (job_ptr->details) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment