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

added some clean up

parent 21650b95
No related branches found
No related tags found
No related merge requests found
...@@ -684,6 +684,9 @@ extern int free_block_list(List track_list, bool destroy, bool wait) ...@@ -684,6 +684,9 @@ extern int free_block_list(List track_list, bool destroy, bool wait)
debug("Freed them all"); debug("Freed them all");
slurm_mutex_unlock(&free_mutex); slurm_mutex_unlock(&free_mutex);
slurm_mutex_destroy(&free_mutex);
pthread_cond_destroy(&free_cond);
if ((bg_conf->layout_mode == LAYOUT_DYNAMIC) || destroy) { if ((bg_conf->layout_mode == LAYOUT_DYNAMIC) || destroy) {
/* If no block is in error state remove and destroy them. */ /* If no block is in error state remove and destroy them. */
list_iterator_reset(itr); list_iterator_reset(itr);
......
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