ts_free() 过程释放与给定时间系列参数关联的所有内存。时间系列参数必须已通过调用 ts_create() 或 ts_copy() 生成。
void ts_free(ts_timeseries *ts)