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
12669e48d2
commit
a25eebf22e
1 changed files with 1 additions and 0 deletions
|
@ -861,6 +861,7 @@ Query_init(recoll_QueryObject *self, PyObject *, PyObject *)
|
|||
static PyObject *
|
||||
Query_iter(PyObject *self)
|
||||
{
|
||||
Py_INCREF(self);
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue