update peakpick deletion function
authorPaul Brossier <piem@altern.org>
Wed, 12 Jul 2006 16:24:32 +0000 (16:24 +0000)
committerPaul Brossier <piem@altern.org>
Wed, 12 Jul 2006 16:24:32 +0000 (16:24 +0000)
update peakpick deletion function

src/peakpick.c

index cc6411fb9ab5ba309c92aa610d41bcf4be53aa15..9f128e8798e6bba9616f9c5d20ea75c579ec5216 100644 (file)
@@ -175,9 +175,10 @@ aubio_pickpeak_t * new_aubio_peakpicker(smpl_t threshold) {
 }
 
 void del_aubio_peakpicker(aubio_pickpeak_t * p) {
-       //del_aubio_biquad(p->biquad);
+       del_aubio_biquad(p->biquad);
        del_fvec(p->onset_keep);
        del_fvec(p->onset_proc);
        del_fvec(p->onset_peek);
        del_fvec(p->scratch);
+       AUBIO_FREE(p);
 }