From: Paul Brossier Date: Mon, 18 Apr 2016 20:48:53 +0000 (+0200) Subject: Merge pull request #40 from nphilipp/develop--py3k-fixes X-Git-Tag: 0.4.4~300^2~320 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=4041a6da578929d7b5d8b65231b3c19e08905e83 Merge pull request #40 from nphilipp/develop--py3k-fixes Miscellaneous fixes for Python, mostly version 3 --- 4041a6da578929d7b5d8b65231b3c19e08905e83 diff --cc python/ext/py-filter.c index ab1ee767,ad508be9..abbdad82 --- a/python/ext/py-filter.c +++ b/python/ext/py-filter.c @@@ -55,9 -54,8 +55,9 @@@ Py_filter_init (Py_filter * self, PyObj static void Py_filter_del (Py_filter * self) { + del_fvec(self->out); del_aubio_filter (self->o); - self->ob_type->tp_free ((PyObject *) self); + Py_TYPE(self)->tp_free ((PyObject *) self); } static PyObject *