shithub: aubio

Download patch

ref: 20ae690b28378f817256778e0fe826ee55d7775a
parent: 5f9df779ec5b48595e64ca66979a6fe670b321c5
parent: c37aee16ffa47fd5f7eca78ab11965b4353045f5
author: Paul Brossier <piem@piem.org>
date: Mon May 2 08:38:00 EDT 2011

Merge aubio.org:/git/aubio/aubio

--- a/src/mathutils.c
+++ b/src/mathutils.c
@@ -72,7 +72,6 @@
   else {
       AUBIO_ERR ("unknown window type %s, using default.\n", window_type);
       wintype = aubio_win_default;
-      return NULL;
   }
   switch(wintype) {
     case aubio_win_rectangle:
--- a/src/pitch/pitchschmitt.c
+++ b/src/pitch/pitchschmitt.c
@@ -114,5 +114,6 @@
 del_aubio_pitchschmitt (aubio_pitchschmitt_t * p)
 {
   AUBIO_FREE (p->schmittBuffer);
+  AUBIO_FREE (p->buf);
   AUBIO_FREE (p);
 }
--- a/src/spectral/tss.c
+++ b/src/spectral/tss.c
@@ -116,11 +116,11 @@
 
 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);
 }