From 45c0f163a013670c84ff3a13d0a6dafdcb39d918 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 21 Jul 2006 18:14:57 +0000 Subject: [PATCH] complete test-tss memory freeing complete test-tss memory freeing --- examples/tests/test-tss.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/tests/test-tss.c b/examples/tests/test-tss.c index bad66129..a9cc335e 100644 --- a/examples/tests/test-tss.c +++ b/examples/tests/test-tss.c @@ -5,7 +5,7 @@ * a delay equal to the window size, hop_s. */ -#include "aubio.h" +#include int main(){ int i; @@ -28,7 +28,7 @@ int main(){ /* fill input with some data */ printf("initialised\n"); /* execute stft */ - for (i = 0; i < 1000; i++) { + for (i = 0; i < 10; i++) { aubio_pvoc_do (pv,in,fftgrain); aubio_tss_do (tss,fftgrain,ctrans,cstead); aubio_pvoc_rdo(pvt,cstead,stead); @@ -41,6 +41,7 @@ int main(){ del_cvec(ctrans); del_fvec(stead); del_fvec(trans); + aubio_cleanup(); printf("memory freed\n"); return 0; } -- 2.26.2