shithub: aubio

Download patch

ref: f66ccb9d420ea34348fe58300ed8d034f8ecac19
parent: 7c8420433827def2e65bde3d7e7807c57a3f34f0
author: Paul Brossier <piem@piem.org>
date: Fri Feb 4 05:06:12 EST 2011

src/spectral/tss.c: use AUBIO_FREE, not free (thanks to Olivier Robert)

--- a/src/spectral/tss.c
+++ b/src/spectral/tss.c
@@ -116,12 +116,12 @@
 
 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){