ref: fef012aa0cf7c5ada731d2cbf8d0578e3ce4dfd6
parent: 98d7aaa3b399e2bf7479cf50458193e1d046c547
author: Paul Brossier <piem@piem.org>
date: Fri Dec 21 10:01:10 EST 2018
[examples] only delete sink if needed
--- a/examples/utils.c
+++ b/examples/utils.c
@@ -184,7 +184,8 @@
total_read, blocks, hop_size, source_uri, samplerate);
del_aubio_source (this_source);
- del_aubio_sink (this_sink);
+ if (this_sink)
+ del_aubio_sink (this_sink);
}
}