crm_malloc0(answer, sizeof(ha_time_t)); crm_malloc0(answer->has, sizeof(ha_has_time_t)); crm_malloc0(answer->offset, sizeof(ha_time_t)); crm_malloc0(answer->offset->has, sizeof(ha_has_time_t)); 
answer = new_ha_date(FALSE); ha_set_time(answer, lhs, TRUE); 
add_time(ha_time_t *lhs, ha_time_t *rhs){	ha_time_t *answer = NULL;	CRM_DEV_ASSERT(lhs != NULL && rhs != NULL);		crm_malloc0(answer, sizeof(ha_time_t));	crm_malloc0(answer->has, sizeof(ha_has_time_t));	crm_malloc0(answer->offset, sizeof(ha_time_t));	crm_malloc0(answer->offset->has, sizeof(ha_has_time_t));	ha_set_time(answer, lhs, TRUE);		normalize_time(lhs);	normalize_time(answer);	if(rhs->has->years) {		add_years(answer, rhs->years);	}	if(rhs->has->months) {		add_months(answer, rhs->months);	}	if(rhs->has->weeks) {		add_weeks(answer, rhs->weeks);	}	if(rhs->has->days) {		add_days(answer, rhs->days);	}	add_hours(answer, rhs->hours);	add_minutes(answer, rhs->minutes);	add_seconds(answer, rhs->seconds);	return answer;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/af35de8b1e0ab05c5c567fb6f3565443ea9bcf10/iso8601.c/buggy/lib/crm/common/iso8601.c