From: Sebastian Harl Date: Thu, 21 Aug 2014 05:18:36 +0000 (-0700) Subject: timeseries: Free the actual time-series object itself as well. X-Git-Tag: sysdb-0.4.0~17 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1b50f0c8136ee0294276224284e20de7f56805d2;p=sysdb.git timeseries: Free the actual time-series object itself as well. --- diff --git a/src/core/timeseries.c b/src/core/timeseries.c index 17166eb..e5bff91 100644 --- a/src/core/timeseries.c +++ b/src/core/timeseries.c @@ -109,6 +109,7 @@ sdb_timeseries_destroy(sdb_timeseries_t *ts) } ts->data_names = NULL; ts->data_names_len = 0; + free(ts); } /* sdb_timeseries_destroy */ /* vim: set tw=78 sw=4 ts=4 noexpandtab : */