Skip to content
Snippets Groups Projects
Commit 89a91b09 authored by Brian Christiansen's avatar Brian Christiansen
Browse files

Fix memory leak.

parent d69b9396
No related branches found
No related tags found
No related merge requests found
...@@ -1169,6 +1169,8 @@ static void *_sib_will_run(void *arg) ...@@ -1169,6 +1169,8 @@ static void *_sib_will_run(void *arg)
&job_ptr, &err_msg, sib_msg->data_version); &job_ptr, &err_msg, sib_msg->data_version);
unlock_slurmctld(job_write_lock); unlock_slurmctld(job_write_lock);
xfree(err_msg);
if (rc) if (rc)
debug2("%s: %s", __func__, slurm_strerror(rc)); debug2("%s: %s", __func__, slurm_strerror(rc));
} else if ((rc = _persist_job_will_run(sib_willrun->sibling, } else if ((rc = _persist_job_will_run(sib_willrun->sibling,
......
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