g_list_free(colors);
if(colors != NULL) { g_list_free(colors); }
pe_free_colors(GListPtr colors){	while(colors != NULL) {		GListPtr list_item = colors;		color_t *color = (color_t *)list_item->data;		struct color_shared_s *details = color->details;		colors = colors->next;				if(details != NULL) {			pe_free_shallow(details->candidate_nodes);			pe_free_shallow_adv(details->allocated_resources, FALSE);			crm_free(details->chosen_node);			crm_free(details);		}		crm_free(color);	}	g_list_free(colors);}