src/pitch/pitchschmitt.c: avoid memory leak (thanks to Olivier Robert)
authorPaul Brossier <piem@piem.org>
Mon, 7 Feb 2011 11:54:42 +0000 (12:54 +0100)
committerPaul Brossier <piem@piem.org>
Mon, 7 Feb 2011 11:54:42 +0000 (12:54 +0100)
src/pitch/pitchschmitt.c

index f061cc8..6f01761 100644 (file)
@@ -114,5 +114,6 @@ void
 del_aubio_pitchschmitt (aubio_pitchschmitt_t * p)
 {
   AUBIO_FREE (p->schmittBuffer);
+  AUBIO_FREE (p->buf);
   AUBIO_FREE (p);
 }