From: Paul Brossier Date: Mon, 7 Feb 2011 11:54:42 +0000 (+0100) Subject: src/pitch/pitchschmitt.c: avoid memory leak (thanks to Olivier Robert) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=860ef4bd5b80bed62add67f4260ad06a278bf4bb;p=aubio.git src/pitch/pitchschmitt.c: avoid memory leak (thanks to Olivier Robert) --- 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); }