color_t *color_copy = cl_malloc(sizeof(color_t));
color_copy = cl_malloc(sizeof(color_t));
add_color_to_rsc(resource_t *rsc, color_t *color){	if(rsc->provisional) {		color_t *color_copy = cl_malloc(sizeof(color_t));		color_copy->id = color->id;		color_copy->local_weight = 1.0; 		color_copy->details = color->details;		rsc->candidate_colors = g_slist_append(rsc->candidate_colors, color_copy);	}}