Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -242,7 +242,7 @@ Pyaubio_source_get_channels (Py_source *self, PyObject *unused) · 241 unmodified lines | |||
| 242 | static PyObject * | 242 | static PyObject * |
| 243 | Pyaubio_source_close (Py_source *self, PyObject *unused) | 243 | Pyaubio_source_close (Py_source *self, PyObject *unused) |
| 244 | { | 244 | { |
| 245 | aubio_source_close (self->o); | 245 | if (aubio_source_close(self->o) != 0) return NULL; |
| 246 | Py_RETURN_NONE; | 246 | Py_RETURN_NONE; |
| 247 | } | 247 | } |
| 248 | 248 | ||