projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dda1c0
)
python/ext/py-source.c: raise on closing file failed
author
Paul Brossier
<piem@piem.org>
Mon, 27 Feb 2017 00:15:39 +0000
(
01:15
+0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 27 Feb 2017 00:15:39 +0000
(
01:15
+0100)
python/ext/py-source.c
patch
|
blob
|
history
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;
}