shithub: aubio

Download patch

ref: 1878b506fecc1b5131c78c41cf3120eb9458b046
parent: bec1396a4a735b0bf35dcddf192e55b936e1bcd6
author: Paul Brossier <piem@piem.org>
date: Tue Jan 8 13:34:30 EST 2019

[source] remove assert so tests pass in debug mode

source and sink are the only objects which check for null pointers
in del_, keep it this way to prevent breaking older code.

--- a/src/io/source.c
+++ b/src/io/source.c
@@ -138,7 +138,7 @@
 }
 
 void del_aubio_source(aubio_source_t * s) {
-  AUBIO_ASSERT(s);
+  //AUBIO_ASSERT(s);
   if (s && s->s_del && s->source)
     s->s_del((void *)s->source);
   AUBIO_FREE(s);