shithub: aubio

Download patch

ref: e43c0183d7f4882035638b9be1c02ba86151eefb
parent: c62141591cadf438920632793215ed9282740c16
author: Paul Brossier <piem@altern.org>
date: Thu Jul 20 11:51:23 EDT 2006

fix memory freeing in pitchyinfft
fix memory freeing in pitchyinfft


--- a/src/pitchyinfft.c
+++ b/src/pitchyinfft.c
@@ -147,4 +147,7 @@
 	del_fvec(p->sqrmag);
 	del_cvec(p->res);
 	del_cvec(p->fftout);
+	del_fvec(p->winput);
+	del_fvec(p->weight);
+	AUBIO_FREE(p);
 }