shithub: aubio

Download patch

ref: c18bbefe29410df2926c9b7b727b66cce5240ad1
parent: cd2791f5ca43f31c253d7a27cbb47dda846f913b
author: Paul Brossier <[email protected]>
date: Wed May 11 11:20:00 EDT 2016

python/ext/py-source.c: fix free

--- a/python/ext/py-source.c
+++ b/python/ext/py-source.c
@@ -161,7 +161,7 @@
 {
   if (self->o) {
     del_aubio_source(self->o);
-    free(self->mread_to.data);
+    free(self->c_mread_to.data);
   }
   Py_XDECREF(self->read_to);
   Py_XDECREF(self->mread_to);