Opened 15 years ago

Closed 15 years ago

#12 closed defect (fixed)

mfcc leaks memory

Reported by: SaBer Owned by: Paul Brossier
Priority: normal Milestone: 0.3.3
Component: corelib Version:
Severity: normal Keywords:
Cc:

Description

See attached patch

Change History (2)

comment:1 Changed 15 years ago by SaBer

I couldn't add an attachement (permission denied), so here is the diff in plain text:

diff --git a/src/spectral/mfcc.c b/src/spectral/mfcc.c index 6172b53..d29981b 100644 --- a/src/spectral/mfcc.c +++ b/src/spectral/mfcc.c @@ -90,6 +90,7 @@ del_aubio_mfcc (aubio_mfcc_t * mf)

/* delete buffers */ del_fvec (mf->in_dct);

+ del_fvec (mf->dct_coeffs);

/* delete mfcc object */ AUBIO_FREE (mf);

comment:2 Changed 15 years ago by Paul Brossier

Resolution: fixed
Status: newclosed

fixed in fc759f300b357ef5c3e404ec2feea27f7f49156d, using del_fmat. thanks!

Note: See TracTickets for help on using tickets.