Skip to content
Snippets Groups Projects
Commit 9512282e authored by Danny Auble's avatar Danny Auble
Browse files

fix minor memory leak

parent b2df914c
No related branches found
No related tags found
No related merge requests found
......@@ -1742,6 +1742,8 @@ extern void re_kill_job(struct job_record *job_ptr)
if (agent_args->node_count == 0) {
xfree(kill_job);
if(agent_args->hostlist)
hostlist_destroy(agent_args->hostlist);
xfree(agent_args);
hostlist_destroy(kill_hostlist);
return;
......
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