g_list_free(nodes);
if(nodes != NULL) { g_list_free(nodes); }
pe_free_nodes(GListPtr nodes){	while(nodes != NULL) {		GListPtr list_item = nodes;		node_t *node = (node_t*)list_item->data;		struct node_shared_s *details = node->details;		nodes = nodes->next;		crm_trace("deleting node");		crm_trace("%s is being deleted", details->uname);		print_node("delete", node, FALSE);				if(details != NULL) {			if(details->attrs != NULL) {				g_hash_table_foreach_remove(details->attrs,							    ghash_free_str_str,							    NULL);				g_hash_table_destroy(details->attrs);			}					}			}	g_list_free(nodes);}