src/spectral/tss.c: fix del_
authorPaul Brossier <piem@piem.org>
Mon, 7 Feb 2011 11:53:05 +0000 (12:53 +0100)
committerPaul Brossier <piem@piem.org>
Mon, 7 Feb 2011 11:53:05 +0000 (12:53 +0100)
src/spectral/tss.c

index 9a2217a00c75bca93b3671f295d13fab83fad7a5..fec43e4850cd9f02356a7a2289072f19d31f7f83 100644 (file)
@@ -116,11 +116,11 @@ aubio_tss_t * new_aubio_tss(uint_t buf_size, uint_t hop_size)
 
 void del_aubio_tss(aubio_tss_t *s)
 {
-  AUBIO_FREE(s->theta1);
-  AUBIO_FREE(s->theta2);
-  AUBIO_FREE(s->oft1);
-  AUBIO_FREE(s->oft2);
-  AUBIO_FREE(s->dev);
+  del_fvec(s->theta1);
+  del_fvec(s->theta2);
+  del_fvec(s->oft1);
+  del_fvec(s->oft2);
+  del_fvec(s->dev);
   AUBIO_FREE(s);
 }