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:
Jean-Francois Dockes 2014-07-16 14:29:18 +02:00
parent 12669e48d2
commit a25eebf22e

View file

@ -861,6 +861,7 @@ Query_init(recoll_QueryObject *self, PyObject *, PyObject *)
static PyObject *
Query_iter(PyObject *self)
{
Py_INCREF(self);
return self;
}