From 72b649d568205e4641d049dddebd190bd689a7f4 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 12 Jul 2006 16:24:32 +0000 Subject: [PATCH] update peakpick deletion function update peakpick deletion function --- src/peakpick.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/peakpick.c b/src/peakpick.c index cc6411fb..9f128e87 100644 --- a/src/peakpick.c +++ b/src/peakpick.c @@ -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); } -- 2.26.2