projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python/ext/py-source.c: raise on closing file failed
[aubio.git]
/
python
/
ext
/
py-source.c
diff --git
a/python/ext/py-source.c
b/python/ext/py-source.c
index
71d6ba7
..
35a16b1
100644
(file)
--- a/
python/ext/py-source.c
+++ b/
python/ext/py-source.c
@@
-242,7
+242,7
@@
Pyaubio_source_get_channels (Py_source *self, PyObject *unused)
static PyObject *
Pyaubio_source_close (Py_source *self, PyObject *unused)
{
-
aubio_source_close (self->o)
;
+
if (aubio_source_close(self->o) != 0) return NULL
;
Py_RETURN_NONE;
}