From: Paul Brossier Date: Fri, 3 Jun 2005 00:56:57 +0000 (+0000) Subject: fixed memory freeing of pitchmcomb X-Git-Tag: bzr2git~889 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=21cc31162f306ece5d74f7c1952145952b5f9609;p=aubio.git fixed memory freeing of pitchmcomb --- diff --git a/src/pitchmcomb.c b/src/pitchmcomb.c index 7aa64a33..b43083ae 100644 --- a/src/pitchmcomb.c +++ b/src/pitchmcomb.c @@ -345,8 +345,8 @@ aubio_pitchmcomb_t * new_aubio_pitchmcomb(uint_t size, uint_t channels) { void del_aubio_pitchmcomb (aubio_pitchmcomb_t *p) { uint_t i; del_fvec(p->newmag); - del_fvec(p->newmag); - del_fvec(p->newmag); + del_fvec(p->scratch); + del_fvec(p->scratch2); AUBIO_FREE(p->peaks); for (i=0;incand;i++) { AUBIO_FREE(p->candidates[i]);