new_value = crm_strdup("0");
new_value = crm_strdup("1");
cib_update_counter(xmlNodePtr xml_obj, const char *field, gboolean reset){	char *new_value = NULL;	char *old_value = NULL;	int  int_value  = -1;	/* modify the timestamp */	set_node_tstamp(xml_obj);	if(reset == FALSE) {		old_value = xmlGetProp(xml_obj, field);	}	if(old_value != NULL) {		crm_malloc(new_value, 128*(sizeof(char)));		int_value = atoi(old_value);		sprintf(new_value, "%d", ++int_value);	} else {		new_value = crm_strdup("0");	}	crm_trace("%s %d(%s)->%s",		  field, int_value, crm_str(old_value), crm_str(new_value));	set_xml_property_copy(xml_obj, field, new_value);	crm_free(new_value);	return cib_ok;}