crm_debug_4("Freeing resource");
void common_free(resource_t *rsc){	if(rsc == NULL) {		return;	}		crm_debug_4("Freeing %s", rsc->id);	while(rsc->rsc_cons) { 		pe_free_rsc_colocation(			(rsc_colocation_t*)rsc->rsc_cons->data);		rsc->rsc_cons = rsc->rsc_cons->next;	}	crm_debug_4("Freeing constraint list");	if(rsc->rsc_cons != NULL) {		g_list_free(rsc->rsc_cons);	}	crm_debug_4("Freeing opaque data");	crm_free(rsc->variant_opaque);	crm_debug_4("Freeing resource");	crm_free(rsc);	crm_debug_4("Resource freed");}