python module: query_iter function must incref the query (problem surfaced because the query ref count is now correct following the previous incref fix
This commit is contained in:
parent
b6eb3589ba
commit
8c239bef6f
@ -861,6 +861,7 @@ Query_init(recoll_QueryObject *self, PyObject *, PyObject *)
|
|||||||
static PyObject *
|
static PyObject *
|
||||||
Query_iter(PyObject *self)
|
Query_iter(PyObject *self)
|
||||||
{
|
{
|
||||||
|
Py_INCREF(self);
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user