fix memory freeing in pitchyinfft
authorPaul Brossier <piem@altern.org>
Thu, 20 Jul 2006 15:51:23 +0000 (15:51 +0000)
committerPaul Brossier <piem@altern.org>
Thu, 20 Jul 2006 15:51:23 +0000 (15:51 +0000)
fix memory freeing in pitchyinfft

src/pitchyinfft.c

index ed1b32f663449d8c0525135186ec6b4a144b4643..0c7b0f2e63c26871de14685bc3848b0cfa2e34d2 100644 (file)
@@ -147,4 +147,7 @@ void del_aubio_pitchyinfft(aubio_pitchyinfft_t *p){
        del_fvec(p->sqrmag);
        del_cvec(p->res);
        del_cvec(p->fftout);
+       del_fvec(p->winput);
+       del_fvec(p->weight);
+       AUBIO_FREE(p);
 }