From 1878b506fecc1b5131c78c41cf3120eb9458b046 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 8 Jan 2019 18:34:30 +0100 Subject: [PATCH] [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. --- src/io/source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/source.c b/src/io/source.c index c3ab7c95..2fbbb6da 100644 --- a/src/io/source.c +++ b/src/io/source.c @@ -138,7 +138,7 @@ uint_t aubio_source_close(aubio_source_t * s) { } 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); -- 2.11.0