src/spectral/tss.c: use AUBIO_FREE, not free (thanks to Olivier Robert)
authorPaul Brossier <piem@piem.org>
Fri, 4 Feb 2011 09:06:12 +0000 (10:06 +0100)
committerPaul Brossier <piem@piem.org>
Fri, 4 Feb 2011 09:06:12 +0000 (10:06 +0100)
src/spectral/tss.c

index 9898468a998fcebb02f85463b7bb3d593b5496d7..9a2217a00c75bca93b3671f295d13fab83fad7a5 100644 (file)
@@ -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){