Skip to content
Snippets Groups Projects
Commit 9b7773e1 authored by jwindley's avatar jwindley
Browse files

Don't crash on orphaned node

parent 337676f9
No related branches found
No related tags found
No related merge requests found
...@@ -181,6 +181,8 @@ static int _build_sinfo_data(List sinfo_list, ...@@ -181,6 +181,8 @@ static int _build_sinfo_data(List sinfo_list,
continue; continue;
part_ptr = _find_part(node_ptr->partition, partition_msg); part_ptr = _find_part(node_ptr->partition, partition_msg);
if ( ! part_ptr )
continue;
i = list_iterator_create(sinfo_list); i = list_iterator_create(sinfo_list);
/* test if node can be added to existing sinfo_data entry */ /* test if node can be added to existing sinfo_data entry */
while ((sinfo_ptr = list_next(i))) { while ((sinfo_ptr = list_next(i))) {
......
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