Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -84,7 +84,9 @@ Py_pvoc_del (Py_pvoc *self, PyObject *unused) · 83 unmodified lines | |||
| 84 | { | 84 | { |
| 85 | Py_XDECREF(self->output); | 85 | Py_XDECREF(self->output); |
| 86 | Py_XDECREF(self->routput); | 86 | Py_XDECREF(self->routput); |
| 87 | del_aubio_pvoc(self->o); | 87 | if (self->o) { |
| 88 | del_aubio_pvoc(self->o); | ||
| 89 | } | ||
| 88 | Py_TYPE(self)->tp_free((PyObject *) self); | 90 | Py_TYPE(self)->tp_free((PyObject *) self); |
| 89 | } | 91 | } |
| 90 | 92 | ||