uuid_unparse(uuid_raw, uuid_calc);
cl_uuid_unparse(&uuid_raw, uuid_calc);
set_uuid(ll_cluster_t *hb,crm_data_t *node,const char *attr,const char *uname) {#if 1	char *uuid_calc = NULL;	if(crm_uuid_cache == NULL) {		crm_uuid_cache = g_hash_table_new_full(			g_str_hash, g_str_equal,			g_hash_destroy_str, g_hash_destroy_str);	}		CRM_DEV_ASSERT(uname != NULL);	/* avoid blocking calls where possible */	uuid_calc = g_hash_table_lookup(crm_uuid_cache, uname);	if(uuid_calc != NULL) {		set_xml_property_copy(node, attr, uuid_calc);		return;	}		crm_malloc0(uuid_calc, sizeof(char)*50);		if(uuid_calc != NULL) {		uuid_t uuid_raw;		if(hb->llc_ops->get_uuid_by_name(			   hb, uname, uuid_raw) == HA_FAIL) {			crm_err("Could not calculate UUID for %s", uname);			crm_free(uuid_calc);			uuid_calc = crm_strdup(uname);					} else {			uuid_unparse(uuid_raw, uuid_calc);			g_hash_table_insert(				crm_uuid_cache,				crm_strdup(uname), crm_strdup(uuid_calc));		}		set_xml_property_copy(node, attr, uuid_calc);	}		crm_free(uuid_calc);#else	set_xml_property_copy(node, attr, uname);	#endif}/*memory leak*/ /* BEAM BUG - this is not a memory leak */