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

Add some missing list_iterator_destroy() calls to eliminate memory leaks.

parent 1137d9ae
No related branches found
No related tags found
No related merge requests found
......@@ -729,6 +729,7 @@ _kill_running_session_mgrs(uint32_t jobid, int signum, char *signame)
cnt++;
}
}
list_iterator_destroy(i);
list_destroy(steps);
if (cnt)
verbose("Job %u: sent %s to %d active steps",
......@@ -798,6 +799,7 @@ static void _rpc_pid2jid(slurm_msg_t *msg, slurm_addr *cli)
break;
}
}
list_iterator_destroy(i);
list_destroy(steps);
if (found) {
......@@ -987,6 +989,7 @@ _job_still_running(uint32_t job_id)
break;
}
}
list_iterator_destroy(i);
list_destroy(steps);
return retval;
......
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