projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4a0cc4
)
fixed memory freeing of pitchmcomb
author
Paul Brossier
<piem@altern.org>
Fri, 3 Jun 2005 00:56:57 +0000
(
00:56
+0000)
committer
Paul Brossier
<piem@altern.org>
Fri, 3 Jun 2005 00:56:57 +0000
(
00:56
+0000)
src/pitchmcomb.c
patch
|
blob
|
history
diff --git
a/src/pitchmcomb.c
b/src/pitchmcomb.c
index 7aa64a338cf2cabdbdb9791dba2de1b4bd7ade0e..b43083ae9fcf109d4c260a9c144810d013bf8706 100644
(file)
--- 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;i<p->ncand;i++) {
AUBIO_FREE(p->candidates[i]);