ref: 21cc31162f306ece5d74f7c1952145952b5f9609
parent: d4a0cc46084af2b32e5136ce31c9b5e8d13c37eb
author: Paul Brossier <piem@altern.org>
date: Thu Jun 2 20:56:57 EDT 2005
fixed memory freeing of pitchmcomb
--- a/src/pitchmcomb.c
+++ b/src/pitchmcomb.c
@@ -345,8 +345,8 @@
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;i<p->ncand;i++) {
AUBIO_FREE(p->candidates[i]);