When clearing a node info list, reset the node count to 0

This commit is contained in:
Ian Barwick
2017-07-03 21:59:02 +09:00
parent cc46058a8e
commit c12bf01b5a

View File

@@ -1733,6 +1733,8 @@ clear_node_info_list(NodeInfoList *nodes)
pfree(cell);
cell = next_cell;
}
nodes->node_count = 0;
}