Skip to content
Snippets Groups Projects
Commit c7739da5 authored by Morris Jette's avatar Morris Jette
Browse files

Fix memory leak

Requires priority/multifactor plugin with multiple partitions per job
parent 85863319
No related branches found
No related tags found
No related merge requests found
......@@ -757,6 +757,7 @@ static uint32_t _get_priority_internal(time_t start_time,
job_ptr->priority_array[i]);
i++;
}
list_iterator_destroy(part_iterator);
}
/* Priority 0 is reserved for held jobs */
if (priority < 1)
......
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