From f66ccb9d420ea34348fe58300ed8d034f8ecac19 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 4 Feb 2011 10:06:12 +0100 Subject: [PATCH] src/spectral/tss.c: use AUBIO_FREE, not free (thanks to Olivier Robert) --- src/spectral/tss.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/spectral/tss.c b/src/spectral/tss.c index 9898468a..9a2217a0 100644 --- a/src/spectral/tss.c +++ b/src/spectral/tss.c @@ -116,12 +116,12 @@ aubio_tss_t * new_aubio_tss(uint_t buf_size, uint_t hop_size) void del_aubio_tss(aubio_tss_t *s) { - free(s->theta1); - free(s->theta2); - free(s->oft1); - free(s->oft2); - free(s->dev); - free(s); + AUBIO_FREE(s->theta1); + AUBIO_FREE(s->theta2); + AUBIO_FREE(s->oft1); + AUBIO_FREE(s->oft2); + AUBIO_FREE(s->dev); + AUBIO_FREE(s); } uint_t aubio_tss_set_alpha(aubio_tss_t *o, smpl_t alpha){ -- 2.26.2