ref: 7c85c153c6e39b86bdb5fbc9925839b94684bef5
parent: d3440e7e755f67f22fb2520a66b4fe5857a24827
author: Paul Brossier <piem@piem.org>
date: Mon Nov 26 11:28:57 EST 2018
[dct] use del_aubio_dct on failure, add missing \n in error message
--- a/src/spectral/dct.c
+++ b/src/spectral/dct.c
@@ -155,8 +155,8 @@
goto beach;
}
beach:
- AUBIO_ERROR("dct: failed creating with size %d, should be > 0", size);
- AUBIO_FREE (s);
+ AUBIO_ERROR("dct: failed creating with size %d, should be > 0\n", size);
+ del_aubio_dct(s);
return NULL;
}