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,sink}.c: free string uri
[aubio.git]
/
python
/
ext
/
py-source.c
diff --git
a/python/ext/py-source.c
b/python/ext/py-source.c
index
bc78292
..
60108d3
100644
(file)
--- a/
python/ext/py-source.c
+++ b/
python/ext/py-source.c
@@
-164,6
+164,9
@@
Py_source_del (Py_source *self, PyObject *unused)
del_aubio_source(self->o);
free(self->c_mread_to.data);
}
+ if (self->uri) {
+ free(self->uri);
+ }
Py_XDECREF(self->read_to);
Py_XDECREF(self->mread_to);
Py_TYPE(self)->tp_free((PyObject *) self);