projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34422b4
)
src/pitch/pitchschmitt.c: avoid memory leak (thanks to Olivier Robert)
author
Paul Brossier
<piem@piem.org>
Mon, 7 Feb 2011 11:54:42 +0000
(12:54 +0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 7 Feb 2011 11:54:42 +0000
(12:54 +0100)
src/pitch/pitchschmitt.c
patch
|
blob
|
history
diff --git
a/src/pitch/pitchschmitt.c
b/src/pitch/pitchschmitt.c
index f061cc8f41da0150f02d2e373a4f3e30a60c63ff..6f0176197657eb9078d14d4902a3b9807fcc8ef0 100644
(file)
--- a/
src/pitch/pitchschmitt.c
+++ b/
src/pitch/pitchschmitt.c
@@
-114,5
+114,6
@@
void
del_aubio_pitchschmitt (aubio_pitchschmitt_t * p)
{
AUBIO_FREE (p->schmittBuffer);
+ AUBIO_FREE (p->buf);
AUBIO_FREE (p);
}