Fixed memory leak in date_calc_diff