From 860ef4bd5b80bed62add67f4260ad06a278bf4bb Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 7 Feb 2011 12:54:42 +0100 Subject: [PATCH] src/pitch/pitchschmitt.c: avoid memory leak (thanks to Olivier Robert) --- src/pitch/pitchschmitt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pitch/pitchschmitt.c b/src/pitch/pitchschmitt.c index f061cc8f..6f017619 100644 --- 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); } -- 2.26.2