From: Paul Brossier Date: Wed, 11 May 2016 13:20:00 +0000 (+0200) Subject: python/ext/py-source.c: fix free X-Git-Tag: 0.4.4~300^2~71 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=c18bbefe29410df2926c9b7b727b66cce5240ad1;p=aubio.git python/ext/py-source.c: fix free --- diff --git a/python/ext/py-source.c b/python/ext/py-source.c index 054058d4..55ed71e0 100644 --- a/python/ext/py-source.c +++ b/python/ext/py-source.c @@ -161,7 +161,7 @@ Py_source_del (Py_source *self, PyObject *unused) { 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);