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

Fix for possible memory leak

parent fb645029
No related branches found
No related tags found
No related merge requests found
......@@ -3233,6 +3233,7 @@ static int _build_node_list(struct job_record *job_ptr,
if (bit_equal(prev_node_set_ptr->my_bitmap, inactive_bitmap)) {
/* All nodes require reboot, just change weight */
prev_node_set_ptr->weight = INFINITE;
FREE_NULL_BITMAP(inactive_bitmap);
continue;
}
/* Split the node set record in two:
......
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