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 ed1b32f..0c7b0f2 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);
 }