Code

timeseries: Free the actual time-series object itself as well.
authorSebastian Harl <sh@tokkee.org>
Thu, 21 Aug 2014 05:18:36 +0000 (22:18 -0700)
committerSebastian Harl <sh@tokkee.org>
Thu, 21 Aug 2014 05:18:36 +0000 (22:18 -0700)
src/core/timeseries.c

index 17166eb82a88a6bcef20765975ad69275f1de656..e5bff91c97a9fca413e3e5752f1c880403b7a80a 100644 (file)
@@ -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 : */