pitchdetection.c: add missing del_aubio_filter
authorPaul Brossier <piem@piem.org>
Wed, 21 Nov 2007 17:36:28 +0000 (18:36 +0100)
committerPaul Brossier <piem@piem.org>
Wed, 21 Nov 2007 17:36:28 +0000 (18:36 +0100)
src/pitchdetection.c

index 806c82996a3b6935dbd856909d47600b6b08a2b0..3e2c181f18e3ac71a7e255f2352be4d3f5e39f71 100644 (file)
@@ -152,6 +152,7 @@ void del_aubio_pitchdetection(aubio_pitchdetection_t * p) {
     case aubio_pitch_mcomb:
       del_aubio_pvoc(p->pv);
       del_cvec(p->fftgrain);
+      del_aubio_filter(p->filter);
       del_aubio_pitchmcomb(p->mcomb);
       break;
     case aubio_pitch_schmitt: