ref: 860ef4bd5b80bed62add67f4260ad06a278bf4bb
parent: 34422b4c009568b7670aaec0aef5550deafe11e4
author: Paul Brossier <piem@piem.org>
date: Mon Feb 7 07:54:42 EST 2011
src/pitch/pitchschmitt.c: avoid memory leak (thanks to Olivier Robert)
--- a/src/pitch/pitchschmitt.c
+++ b/src/pitch/pitchschmitt.c
@@ -114,5 +114,6 @@
del_aubio_pitchschmitt (aubio_pitchschmitt_t * p)
{
AUBIO_FREE (p->schmittBuffer);
+ AUBIO_FREE (p->buf);
AUBIO_FREE (p);
}