The ts_free() procedure

The ts_free() procedure frees all memory associated with the given time series argument. The time series argument must have been generated by a call to either ts_create() or ts_copy().

Syntax

void 
ts_free(ts_timeseries *ts)
ts
The source time series.