assign_color(resource_t *rsc, color_t *color) {	color_t *local_color = add_color(rsc, color);	GListPtr intersection = NULL;	GListPtr old_list = NULL;		rsc->color = local_color;	rsc->provisional = FALSE;	if(local_color != NULL) {		local_color->details->allocated_resources =			g_list_append(				local_color->details->allocated_resources,rsc);			intersection = node_list_and(				local_color->details->candidate_nodes, 				rsc->allowed_nodes, TRUE);			   			old_list =				local_color->details->candidate_nodes;							pe_free_shallow(old_list);						local_color->details->candidate_nodes = intersection;						return TRUE;	}	return FALSE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/f17c8eda8d331f89e1c0ed293931b048e4d3b2d0/color.c/clean/crm/pengine/color.c